diff options
| author | Theodore Tso <tytso@mit.edu> | 1995-09-23 03:33:26 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1995-09-23 03:33:26 +0000 |
| commit | a8a513b0fee229246da7eb328d09ab3f4f1d7db9 (patch) | |
| tree | 4a2f33715c678992e42d4d9808ada2cff4c86cab /src/lib/crypto | |
| parent | 60e68cccbdba9e1ff45a2866276866edf96cfd2f (diff) | |
| download | krb5-a8a513b0fee229246da7eb328d09ab3f4f1d7db9.tar.gz krb5-a8a513b0fee229246da7eb328d09ab3f4f1d7db9.tar.xz krb5-a8a513b0fee229246da7eb328d09ab3f4f1d7db9.zip | |
Define PROTOTYPE if it is not defined elsewhere
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6838 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto')
| -rw-r--r-- | src/lib/crypto/des/ChangeLog | 4 | ||||
| -rw-r--r-- | src/lib/crypto/des/des_int.h | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog index 926632788..9f664d31b 100644 --- a/src/lib/crypto/des/ChangeLog +++ b/src/lib/crypto/des/ChangeLog @@ -1,3 +1,7 @@ +Fri Sep 22 23:32:58 1995 Theodore Y. Ts'o <tytso@dcl> + + * des_int.h: Define PROTOTYPE if it is not defined elsewhere. + Tue Sep 12 18:50:50 1995 John Rivlin (jrivlin@fusion.com) * f_pcbc.c: Added include of des_int.h which seemed to diff --git a/src/lib/crypto/des/des_int.h b/src/lib/crypto/des/des_int.h index 97ca9883e..029326632 100644 --- a/src/lib/crypto/des/des_int.h +++ b/src/lib/crypto/des/des_int.h @@ -34,6 +34,14 @@ #ifndef KRB5_MIT_DES__ #define KRB5_MIT_DES__ +#if !defined(PROTOTYPE) +#if defined(__STDC__) || defined(_MSDOS) +#define PROTOTYPE(x) x +#else +#define PROTOTYPE(x) () +#endif +#endif + typedef krb5_octet mit_des_cblock[8]; /* crypto-block size */ /* Key schedule--used internally by DES routines to gain some speed */ |
