From 7eb843aa5050a395bc922db1b41b7237f238d2ba Mon Sep 17 00:00:00 2001 From: James A Shackleford Date: Sun, 1 Jun 2014 19:52:49 -0400 Subject: staging: skein: fix sparse warning for static declarations This patch fixes the following sparse warnings: skein_block.c:43:6: warning: symbol 'skein_256_process_block' was not declared. Should it be static? skein_block.c:252:6: warning: symbol 'skein_512_process_block' was not declared. Should it be static? skein_block.c:483:6: warning: symbol 'skein_1024_process_block' was not declared. Should it be static? by including the header skein_block.h, which contains the declarations in question. Signed-off-by: James A Shackleford Signed-off-by: Greg Kroah-Hartman --- drivers/staging/skein/skein_block.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers') diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c index f49eb2e9e5a..04ce1d00547 100644 --- a/drivers/staging/skein/skein_block.c +++ b/drivers/staging/skein/skein_block.c @@ -16,6 +16,7 @@ #include #include "skein.h" +#include "skein_block.h" #ifndef SKEIN_USE_ASM #define SKEIN_USE_ASM (0) /* default is all C code (no ASM) */ -- cgit v1.2.3-70-g09d2