From: Tom Yu Date: Fri, 23 Jun 1995 19:46:49 +0000 (+0000) Subject: * syslog.h: reverse sense of KRB5_PROVIDE_PROTOTYPES X-Git-Tag: krb5-1.0-beta6~1660 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c5abfbde8864c9dd26e74e0c62dab3745384b9f;p=krb5.git * syslog.h: reverse sense of KRB5_PROVIDE_PROTOTYPES git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6154 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/sys/ChangeLog b/src/include/sys/ChangeLog index c8ddad3a6..376c85817 100644 --- a/src/include/sys/ChangeLog +++ b/src/include/sys/ChangeLog @@ -1,3 +1,7 @@ +Thu Jun 22 16:12:23 1995 Tom Yu (tlyu@dragons-lair) + + * syslog.h: reverse sense of KRB5_PROVIDE_PROTOTYPES + Thu Apr 13 16:05:08 1995 Keith Vetter (keithv@fusion.com) * syslog.h: __STDC__ conditionals also check for the _WINDOWS define. diff --git a/src/include/sys/syslog.h b/src/include/sys/syslog.h index 682243e76..2aa3233d0 100644 --- a/src/include/sys/syslog.h +++ b/src/include/sys/syslog.h @@ -90,7 +90,7 @@ #define LOG_NOWAIT 0x10 /* if forking to log on console, don't wait() */ #ifndef KERNEL -#if defined(__STDC__) || defined(KRB5_PROVIDE_PROTOTYPES) || defined(_WINDOWS) +#if (defined(__STDC__) || defined(_WINDOWS)) && !defined(KRB5_NO_PROTOTYPES) extern void syslog (int , const char *, ... ); #ifdef va_start /* XXX depending on #define of va_start in */