projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ffb72a
)
crypto: cast5 - fix sparse warnings (symbol was not declared, should be static?)
author
Jussi Kivilinna
<jussi.kivilinna@mbnet.fi>
Tue, 28 Aug 2012 13:47:04 +0000
(16:47 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 6 Sep 2012 20:17:05 +0000
(
04:17
+0800)
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>
include/crypto/cast5.h
patch
|
blob
|
history
diff --git
a/include/crypto/cast5.h
b/include/crypto/cast5.h
index dcb90c13dd3938be8e538beaf9a2f2dc16f3d826..586183a0406e8d90b09e8226156fa7888fdb908e 100644
(file)
--- a/
include/crypto/cast5.h
+++ b/
include/crypto/cast5.h
@@
-19,4
+19,9
@@
int cast5_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
void __cast5_encrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);
void __cast5_decrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);
+extern const u32 cast5_s1[256];
+extern const u32 cast5_s2[256];
+extern const u32 cast5_s3[256];
+extern const u32 cast5_s4[256];
+
#endif