summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cast
diff options
context:
space:
mode:
authormiod <>2014-04-27 20:20:59 +0000
committermiod <>2014-04-27 20:20:59 +0000
commitdca0aaa15884eb5bf1105e1c7a6323f11be4abd3 (patch)
tree8c69a274c74d651766e7fde77b65409a83f19e91 /src/lib/libcrypto/cast
parent3a7174b249978efb30c051425bce7b06accba708 (diff)
downloadopenbsd-dca0aaa15884eb5bf1105e1c7a6323f11be4abd3.tar.gz
openbsd-dca0aaa15884eb5bf1105e1c7a6323f11be4abd3.tar.bz2
openbsd-dca0aaa15884eb5bf1105e1c7a6323f11be4abd3.zip
Put explicit (void) in function declarations and shuffle keywords in some
declaration to pass -Wextra, should we want to add it to CFLAGS. No binary change.
Diffstat (limited to 'src/lib/libcrypto/cast')
-rw-r--r--src/lib/libcrypto/cast/c_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cast/c_enc.c b/src/lib/libcrypto/cast/c_enc.c
index 2ae54f5cfb..a1f28293f1 100644
--- a/src/lib/libcrypto/cast/c_enc.c
+++ b/src/lib/libcrypto/cast/c_enc.c
@@ -63,7 +63,7 @@
63void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key) 63void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key)
64 { 64 {
65 register CAST_LONG l,r,t; 65 register CAST_LONG l,r,t;
66 const register CAST_LONG *k; 66 register const CAST_LONG *k;
67 67
68 k= &(key->data[0]); 68 k= &(key->data[0]);
69 l=data[0]; 69 l=data[0];
@@ -96,7 +96,7 @@ void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key)
96void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key) 96void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key)
97 { 97 {
98 register CAST_LONG l,r,t; 98 register CAST_LONG l,r,t;
99 const register CAST_LONG *k; 99 register const CAST_LONG *k;
100 100
101 k= &(key->data[0]); 101 k= &(key->data[0]);
102 l=data[0]; 102 l=data[0];