aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-09-09 11:30:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-09-13 16:09:41 -0700
commit003f6c9df54970d8b19578d195b3e2b398cdbde2 (patch)
treeadc3f5e5a459e9b5460d24e821af51c2872b4760 /lib
parent1a4b1a41b8a3d5256019854e851beed063b34344 (diff)
lib/sha1.c: quiet sparse noise about symbol not declared
Include <linux/cryptohash.h> to pickup the declarations for sha_transform and sha_init to quite the sparse noise: warning: symbol 'sha_transform' was not declared. Should it be static? warning: symbol 'sha_init' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Mandeep Singh Baines <msb@chromium.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/sha1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sha1.c b/lib/sha1.c
index f33271dd00c..1de509a159c 100644
--- a/lib/sha1.c
+++ b/lib/sha1.c
@@ -8,6 +8,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/bitops.h>
+#include <linux/cryptohash.h>
#include <asm/unaligned.h>
/*