Commit 3cfad0d03ccb0fa7932398caecf97d11ab654a77

Authored by Jussi Kivilinna
Committed by Herbert Xu
1 parent 1ffb72a39a

crypto: cast5 - fix sparse warnings (symbol was not declared, should be static?)

Fix "symbol 'x' was not declared. Should it be static?" sparse warnings.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff

include/crypto/cast5.h
... ... @@ -19,5 +19,10 @@
19 19 void __cast5_encrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);
20 20 void __cast5_decrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);
21 21  
  22 +extern const u32 cast5_s1[256];
  23 +extern const u32 cast5_s2[256];
  24 +extern const u32 cast5_s3[256];
  25 +extern const u32 cast5_s4[256];
  26 +
22 27 #endif