diff options
| author | Arnd Bergmann <[email protected]> | 2023-08-09 21:10:50 +0000 |
|---|---|---|
| committer | Geert Uytterhoeven <[email protected]> | 2023-08-21 11:27:44 +0000 |
| commit | 1a48e2ccd4385caa9ad9659ac8f9d75affacc9da (patch) | |
| tree | 11aee6a2d0bdac53c8d5f31ffb4da406d64eb1d5 /rust/helpers.c | |
| parent | m68k: Define __div64_32() to avoid a warning (diff) | |
| download | kernel-1a48e2ccd4385caa9ad9659ac8f9d75affacc9da.tar.gz kernel-1a48e2ccd4385caa9ad9659ac8f9d75affacc9da.zip | |
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 <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
