m68k: Add memcmp() declaration
authorArnd Bergmann <arnd@arndb.de>
Wed, 9 Aug 2023 21:10:50 +0000 (23:10 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 21 Aug 2023 11:27:44 +0000 (13:27 +0200)
commit1a48e2ccd4385caa9ad9659ac8f9d75affacc9da
tree11aee6a2d0bdac53c8d5f31ffb4da406d64eb1d5
parent668a920208fffaf5308aabd304f7568d6815169b
m68k: Add memcmp() declaration

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.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20230809211057.60514-2-arnd@kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/string.h