From 86e23511876f7bae5adfb171ab6976bd830f94c1 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 23 Jun 1995 19:43:50 +0000 Subject: [PATCH] * krb4-proto.h, krb.h: reverse sense of KRB5_PROVIDE_PROTOTYPES (-> KRB5_NO_PROTOTYPES) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6152 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/kerberosIV/ChangeLog | 5 +++++ src/include/kerberosIV/krb.h | 2 +- src/include/kerberosIV/krb4-proto.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/include/kerberosIV/ChangeLog b/src/include/kerberosIV/ChangeLog index b638c18ed..dcbb0baa2 100644 --- a/src/include/kerberosIV/ChangeLog +++ b/src/include/kerberosIV/ChangeLog @@ -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 * configure.in: Remove standardized set of autoconf macros, which diff --git a/src/include/kerberosIV/krb.h b/src/include/kerberosIV/krb.h index 105a4fbb7..01cc8ff54 100644 --- a/src/include/kerberosIV/krb.h +++ b/src/include/kerberosIV/krb.h @@ -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) () diff --git a/src/include/kerberosIV/krb4-proto.h b/src/include/kerberosIV/krb4-proto.h index c90a1b9cf..179237451 100644 --- a/src/include/kerberosIV/krb4-proto.h +++ b/src/include/kerberosIV/krb4-proto.h @@ -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) () -- 2.26.2