Messages in this thread | | | Subject | Re: [PATCH 2/2] m68k: add memcmp() declarartion | From | John Paul Adrian Glaubitz <> | Date | Wed, 09 Aug 2023 23:28:44 +0200 |
| |
Hi Arnd!
On Wed, 2023-08-09 at 23:10 +0200, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > There is a global definition of memcmp() that gets built on m68k but is never > used and causes a warning because of the missing prototype: > > lib/string.c:671:15: error: no previous prototype for 'memcmp' [-Werror=missing-prototypes] > > Add the corresponding declaration to avoid the warning. As far as I understand > the #define to redirect memcmp() to __builtin_memcmp() does not actually do anything > here since this is what it does anyway. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Can you fix the typo in the subject?
s/declarartion/declaration/
Thanks, Adrian
-- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
| |