summaryrefslogtreecommitdiffstats
path: root/lib/libcrc32c.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2016-01-20 14:58:06 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-20 17:09:18 -0800
commit290e0e0f2b54b2eed5018f921c585bb694f9e68a (patch)
tree3d9691572dc647c0444e40ad11cbcad73b13fd69 /lib/libcrc32c.c
parent9fa686068a32ddf256df03982b3e3967c18654a8 (diff)
downloadlinux-290e0e0f2b54b2eed5018f921c585bb694f9e68a.tar.gz
linux-290e0e0f2b54b2eed5018f921c585bb694f9e68a.tar.bz2
linux-290e0e0f2b54b2eed5018f921c585bb694f9e68a.zip
lib/libcrc32c.c: 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 <jdelvare@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/libcrc32c.c')
-rw-r--r--lib/libcrc32c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libcrc32c.c b/lib/libcrc32c.c
index 6a08ce7d6adc..31ce853fbfb1 100644
--- a/lib/libcrc32c.c
+++ b/lib/libcrc32c.c
@@ -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;