diff options
author | Jean Delvare <jdelvare@suse.de> | 2016-01-20 23:58:06 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-21 02:09:18 +0100 |
commit | 290e0e0f2b54b2eed5018f921c585bb694f9e68a (patch) | |
tree | 3d9691572dc647c0444e40ad11cbcad73b13fd69 /lib/libcrc32c.c | |
parent | Merge tag 'dmaengine-fix-4.5-rc1' of git://git.infradead.org/users/vkoul/slav... (diff) | |
download | linux-290e0e0f2b54b2eed5018f921c585bb694f9e68a.tar.xz 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.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 @@ #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> +#include <linux/crc32c.h> static struct crypto_shash *tfm; |