diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/des/fcrypt.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) |
Change functions to ANSI C.
Diffstat (limited to 'crypto/des/fcrypt.c')
-rw-r--r-- | crypto/des/fcrypt.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/crypto/des/fcrypt.c b/crypto/des/fcrypt.c index e276a08653..87fe923eb3 100644 --- a/crypto/des/fcrypt.c +++ b/crypto/des/fcrypt.c @@ -70,12 +70,9 @@ char *crypt(); #endif #if defined(PERL5) || defined(__FreeBSD__) -char *des_crypt(buf,salt) +char *des_crypt(const char *buf, const char *salt) #else -char *crypt(buf,salt) -#endif -const char *buf; -const char *salt; +char *crypt(const char *buf, const char *salt) { static char buff[14]; @@ -83,10 +80,7 @@ const char *salt; } -char *des_fcrypt(buf,salt,ret) -const char *buf; -const char *salt; -char *ret; +char *des_fcrypt(const char *buf, const char *salt, char *ret) { unsigned int i,j,x,y; DES_LONG Eswap0,Eswap1; |