Change functions to ANSI C.
[openssl.git] / crypto / des / fcrypt.c
index e276a08653d048eb5926da86c4061e596be2c9dd..87fe923eb3f39359946f3dc11b68cee1bfebe1bf 100644 (file)
@@ -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;