* krb4-proto.h, krb.h: reverse sense of KRB5_PROVIDE_PROTOTYPES
authorTom Yu <tlyu@mit.edu>
Fri, 23 Jun 1995 19:43:50 +0000 (19:43 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 23 Jun 1995 19:43:50 +0000 (19:43 +0000)
(-> KRB5_NO_PROTOTYPES)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6152 dc483132-0cff-0310-8789-dd5450dbe970

src/include/kerberosIV/ChangeLog
src/include/kerberosIV/krb.h
src/include/kerberosIV/krb4-proto.h

index b638c18ed06424addd02d33317607537c128db29..dcbb0baa2b05890276ff8789e9d6b274e375bf4b 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jun 22 16:06:26 1995  Tom Yu  (tlyu@dragons-lair)
+
+       * krb4-proto.h, krb.h: reverse sense of KRB5_PROVIDE_PROTOTYPES
+               (-> KRB5_NO_PROTOTYPES)
+
 Fri Jun  9 18:40:51 1995    <tytso@rsx-11.mit.edu>
 
        * configure.in: Remove standardized set of autoconf macros, which
index 105a4fbb7511165506ea430bdb645cca29a77c50..01cc8ff54dc320d9abedea3d63b6dc8d06838b7d 100644 (file)
@@ -404,7 +404,7 @@ char *tkt_string();
 #define        TIME_GMT_UNIXSEC_US(us) unix_time_gmt_unixsec((us))
 #define        CONVERT_TIME_EPOCH      ((long)0)       /* Unix epoch is Krb epoch */
 
-#if defined(__STDC__) || defined(KRB5_PROVIDE_PROTOTYPES) || defined(_WINDOWS)
+#if (defined(__STDC__) || defined(_WINDOWS)) && !defined(KRB5_NO_PROTOTYPES)
 #define PROTOTYPE(x) x
 #else
 #define PROTOTYPE(x) ()
index c90a1b9cf6cfd69c309533fea732038460020e5c..179237451f58a100b357897df0ece6aa55695541 100644 (file)
@@ -28,7 +28,7 @@
 #define _KRB4_PROTO_H__
 
 #ifndef P_TYPE_
-#if defined(__STDC__) || defined(KRB5_PROVIDE_PROTOTYPES)
+#if defined(__STDC__) && !defined(KRB5_NO_PROTOTYPES)
 # define       P_TYPE_(s) s
 #else
 # define P_TYPE_(s) ()