diff options
author | James A Shackleford <shack@linux.com> | 2014-06-01 19:52:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-01 19:58:59 -0400 |
commit | 7eb843aa5050a395bc922db1b41b7237f238d2ba (patch) | |
tree | 33fdc7ee45e510d6f8a885245bdc1dec9704e142 /drivers | |
parent | aeb49155dbc5a9404b1cdcd087132ef959bf666d (diff) |
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 <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/skein/skein_block.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c index f49eb2e9e5af..04ce1d005479 100644 --- a/drivers/staging/skein/skein_block.c +++ b/drivers/staging/skein/skein_block.c | |||
@@ -16,6 +16,7 @@ | |||
16 | 16 | ||
17 | #include <linux/string.h> | 17 | #include <linux/string.h> |
18 | #include "skein.h" | 18 | #include "skein.h" |
19 | #include "skein_block.h" | ||
19 | 20 | ||
20 | #ifndef SKEIN_USE_ASM | 21 | #ifndef SKEIN_USE_ASM |
21 | #define SKEIN_USE_ASM (0) /* default is all C code (no ASM) */ | 22 | #define SKEIN_USE_ASM (0) /* default is all C code (no ASM) */ |