From a8a513b0fee229246da7eb328d09ab3f4f1d7db9 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 23 Sep 1995 03:33:26 +0000 Subject: [PATCH] Define PROTOTYPE if it is not defined elsewhere git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6838 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/des/ChangeLog | 4 ++++ src/lib/crypto/des/des_int.h | 8 ++++++++ 2 files changed, 12 insertions(+) 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 + + * 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 */ -- 2.26.2