[PATCH] libcrc32c: Fix build warning

From: Jean Delvare
Date: Mon Jan 18 2016 - 11:16:12 EST


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 <jdelvare@xxxxxxx>
---
lib/libcrc32c.c | 1 +
1 file changed, 1 insertion(+)

--- linux-4.5-rc0.orig/lib/libcrc32c.c 2016-01-18 16:47:47.978681236 +0100
+++ linux-4.5-rc0/lib/libcrc32c.c 2016-01-18 17:07:08.985586064 +0100
@@ -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;



--
Jean Delvare
SUSE L3 Support