Reinstate KRB5_PROVIDE_PROTOTYPES
authorPaul Park <pjpark@mit.edu>
Tue, 27 Jun 1995 20:34:02 +0000 (20:34 +0000)
committerPaul Park <pjpark@mit.edu>
Tue, 27 Jun 1995 20:34:02 +0000 (20:34 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6167 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/acconfig.h
src/include/ChangeLog
src/include/krb5.hin
src/include/krb5/configure.in
src/include/krb5/k5-config.h

index 95ca7e344b067d496e83dd73e3bc1f8a23cb025f..2e04996e109856ff1de2f731abd2e87d21eba022 100644 (file)
@@ -1,3 +1,9 @@
+
+Tue Jun 27 16:28:23 EDT 1995   Paul Park       (pjpark@mit.edu)
+       * acconfig.h - Reinstate KRB5_PROVIDE_PROTOTYPES.  This is needed for
+               compilers which recognize prototypes but don't set __STDC__
+               or _WINDOWS.
+
 Fri Jun 23 20:14:45 1995  Sam Hartman  <hartmans@tardis.MIT.EDU>
 
        * aclocal.m4 (SHARED_RULE_LOCAL): Use makeshlib out of
index bf816a882595f0fdc3d57ac604b37b184765350d..2b185944d57e59617f941eb885adecceb9d2c096 100644 (file)
@@ -10,6 +10,7 @@
 #undef HAS_LABS
 #undef HAS_VOID_TYPE
 #undef KRB5_NO_PROTOTYPES
+#undef KRB5_PROVIDE_PROTOTYPES
 #undef NEED_SYS_FCNTL_H
 #undef KRB5_NO_NESTED_PROTOTYPES
 #undef NO_STDLIB_H
index 6fd59a2e0e5746658be37be0b91f21326057126e..3d51a9e1766eb61133a3a850745c34a4c71ab03c 100644 (file)
@@ -1,3 +1,9 @@
+
+Tue Jun 27 16:14:38 EDT 1995   Paul Park       (pjpark@mit.edu)
+       * krb5.hin - Reinstate KRB5_PROVIDE_PROTOTYPES.  This is needed for
+               compilers which recognize prototypes but don't set __STDC__
+               or _WINDOWS.
+
 Thu Jun 22 16:03:07 1995  Tom Yu  (tlyu@dragons-lair)
 
        * syslog.h: reverse sense of KRB5_PROVIDE_PROTOTYPES
index 542efe12c78028ec173255c7948a6e274667cdc3..6bd36e36695ba02e6cb5cd99760b09fa9be5226c 100644 (file)
@@ -167,7 +167,7 @@ typedef char FAR * krb5_pointer;
 typedef char krb5_const FAR * krb5_const_pointer;
 #endif
 
-#if (defined(__STDC__) || defined(_WINDOWS)) && !defined(KRB5_NO_PROTOTYPES)
+#if (defined(__STDC__) || defined(_WINDOWS) || defined(KRB5_PROVIDE_PROTOTYPES)) && !defined(KRB5_NO_PROTOTYPES)
 #define KRB5_PROTOTYPE(x) x
 #if defined(__STDC__) || defined(HAVE_STDARG_H) || defined(_WINDOWS)
 #define        KRB5_STDARG_P(x) x
index 1ecc312007a709a6cb573447e74f4fb3d151622f..da0a29157b8cd33dbcb4c1b0566c445533d29d70 100644 (file)
@@ -62,6 +62,8 @@ krb5_cv_has_prototypes=yes, krb5_cv_has_prototypes=no)])
 AC_MSG_RESULT($krb5_cv_has_prototypes)
 if test $krb5_cv_has_prototypes = no; then
 AC_DEFINE(KRB5_NO_PROTOTYPES)
+else
+AC_DEFINE(KRB5_PROVIDE_PROTOTYPES)
 fi
 dnl *never* set NARROW_PROTOTYPES
 
index 7c9b6678092f355ebf357bbeeab257fbc83681c5..4039796220e9804c073730356c5a6815451f9eb1 100644 (file)
@@ -61,6 +61,7 @@
 
 #define HAS_ANSI_VOLATILE
 #define HAS_VOID_TYPE
+#define        KRB5_PROVIDE_PROTOTYPES
 #define HAVE_STDARG_H
 #define HAVE_SYS_TYPES_H