diff options
Diffstat (limited to 'crypt')
-rw-r--r-- | crypt/crypt.c | 10 | ||||
-rw-r--r-- | crypt/crypt_util.c | 10 |
2 files changed, 7 insertions, 13 deletions
diff --git a/crypt/crypt.c b/crypt/crypt.c index c63ea93562..60f53fbccc 100644 --- a/crypt/crypt.c +++ b/crypt/crypt.c @@ -34,9 +34,8 @@ #define SBA(sb, v) (*(long32*)((char*)(sb)+(v))) void -_ufc_doit_r(itr, __data, res) - ufc_long itr, *res; - struct crypt_data * __restrict __data; +_ufc_doit_r (ufc_long itr, struct crypt_data * __restrict __data, + ufc_long *res) { int i; long32 s, *k; @@ -80,9 +79,8 @@ _ufc_doit_r(itr, __data, res) #define SBA(sb, v) (*(long64*)((char*)(sb)+(v))) void -_ufc_doit_r(itr, __data, res) - ufc_long itr, *res; - struct crypt_data * __restrict __data; +_ufc_doit_r (ufc_long itr, struct crypt_data * __restrict __data, + ufc_long *res) { int i; long64 l, r, s, *k; diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c index f78861cf18..05f6a56257 100644 --- a/crypt/crypt_util.c +++ b/crypt/crypt_util.c @@ -304,9 +304,7 @@ _ufc_clearmem (char *start, int cnt) } void -_ufc_copymem(from, to, cnt) - char *from, *to; - int cnt; +_ufc_copymem (char *from, char *to, int cnt) { while(cnt--) *to++ = *from++; @@ -762,10 +760,8 @@ _ufc_dofinalperm_r (ufc_long *res, struct crypt_data * __restrict __data) */ void -_ufc_output_conversion_r(v1, v2, salt, __data) - ufc_long v1, v2; - const char *salt; - struct crypt_data * __restrict __data; +_ufc_output_conversion_r (ufc_long v1, ufc_long v2, const char *salt, + struct crypt_data * __restrict __data) { int i, s, shf; |