libcrc32c: Fix build warning
PATCH 1/1 libcrc32c: Fix build warning
Fix the following build warning:
lib/libcrc32c.c:42:5: warning: no previous prototype for "crc32c" [-Wmissing-prototypes]
u32 crc32c(u32 crc, const void *address, unsigned int length)
^
Signed-off-by Jean Delvare <[email protected]>
--- lib/libcrc32c.c | 1 + 1 file changed, 1 insertion(+)
lib/libcrc32c.c +1 -0
@@ -36,6 +36,7 @@#include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> +#include <linux/crc32c.h> static struct crypto_shash *tfm;
Signature · 2 lines
Jean Delvare SUSE L3 Support