diff options
author | Jean Delvare <jdelvare@suse.de> | 2016-01-20 17:58:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-20 20:09:18 -0500 |
commit | 290e0e0f2b54b2eed5018f921c585bb694f9e68a (patch) | |
tree | 3d9691572dc647c0444e40ad11cbcad73b13fd69 | |
parent | 9fa686068a32ddf256df03982b3e3967c18654a8 (diff) |
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>
-rw-r--r-- | lib/libcrc32c.c | 1 |
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 @@ | |||
36 | #include <linux/init.h> | 36 | #include <linux/init.h> |
37 | #include <linux/kernel.h> | 37 | #include <linux/kernel.h> |
38 | #include <linux/module.h> | 38 | #include <linux/module.h> |
39 | #include <linux/crc32c.h> | ||
39 | 40 | ||
40 | static struct crypto_shash *tfm; | 41 | static struct crypto_shash *tfm; |
41 | 42 | ||