From: Ken Raeburn Date: Tue, 10 Apr 2001 05:00:54 +0000 (+0000) Subject: afsstring2key.c, destest.c: Don't use PROTOTYPE macro X-Git-Tag: krb5-1.3-alpha1~1591 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=734141060fdd53dc3907fc5ce01ed6d88dd1d41f;p=krb5.git afsstring2key.c, destest.c: Don't use PROTOTYPE macro git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13155 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog index f01da3670..8e8932e66 100644 --- a/src/lib/crypto/des/ChangeLog +++ b/src/lib/crypto/des/ChangeLog @@ -1,3 +1,7 @@ +2001-04-10 Ken Raeburn + + * afsstring2key.c, destest.c: Don't use PROTOTYPE macro. + 2001-01-25 Ken Raeburn * t_afss2k.c: Extend test cases to cover situation where krb5_data diff --git a/src/lib/crypto/des/afsstring2key.c b/src/lib/crypto/des/afsstring2key.c index c3da0d86b..73cb98af5 100644 --- a/src/lib/crypto/des/afsstring2key.c +++ b/src/lib/crypto/des/afsstring2key.c @@ -61,7 +61,7 @@ #include "des_int.h" #include -static char *afs_crypt PROTOTYPE((char*,char*,char*)); +static char *afs_crypt (char*,char*,char*); #undef min #define min(a,b) ((a)>(b)?(b):(a)) @@ -186,8 +186,8 @@ mit_afs_string_to_key (keyblock, data, salt) * netatalk@terminator.cc.umich.edu */ -static void krb5_afs_crypt_setkey PROTOTYPE((char*, char*, char(*)[48])); -static void krb5_afs_encrypt PROTOTYPE((char*,long,char*,char (*)[48])); +static void krb5_afs_crypt_setkey (char*, char*, char(*)[48]); +static void krb5_afs_encrypt (char*,long,char*,char (*)[48]); /* * Initial permutation, diff --git a/src/lib/crypto/des/destest.c b/src/lib/crypto/des/destest.c index 21d2b7c4a..80a66c98a 100644 --- a/src/lib/crypto/des/destest.c +++ b/src/lib/crypto/des/destest.c @@ -59,9 +59,9 @@ #include -void convert PROTOTYPE((char *, unsigned char [])); +void convert (char *, unsigned char []); -void des_cblock_print_file PROTOTYPE((mit_des_cblock, FILE *)); +void des_cblock_print_file (mit_des_cblock, FILE *); krb5_octet zeroblock[8] = {0,0,0,0,0,0,0,0};