Define PROTOTYPE if it is not defined elsewhere
authorTheodore Tso <tytso@mit.edu>
Sat, 23 Sep 1995 03:33:26 +0000 (03:33 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 23 Sep 1995 03:33:26 +0000 (03:33 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6838 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/des/ChangeLog
src/lib/crypto/des/des_int.h

index 9266327881ee910ae5841220d87e7299084d9741..9f664d31bd1bec89573103af228dfd489cf00964 100644 (file)
@@ -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
index 97ca9883e73f167f57b17313dbaf6f519d21d760..0293266325d6ddad2a563783b5ea006304e91ddd 100644 (file)
 #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 */