From: Paul Park Date: Tue, 27 Jun 1995 20:34:02 +0000 (+0000) Subject: Reinstate KRB5_PROVIDE_PROTOTYPES X-Git-Tag: krb5-1.0-beta6~1648 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ddc204c8947888ff1da137e3db073fadb2004edf;p=krb5.git Reinstate KRB5_PROVIDE_PROTOTYPES git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6167 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index 95ca7e344..2e04996e1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 * aclocal.m4 (SHARED_RULE_LOCAL): Use makeshlib out of diff --git a/src/acconfig.h b/src/acconfig.h index bf816a882..2b185944d 100644 --- a/src/acconfig.h +++ b/src/acconfig.h @@ -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 diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 6fd59a2e0..3d51a9e17 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -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 diff --git a/src/include/krb5.hin b/src/include/krb5.hin index 542efe12c..6bd36e366 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -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 diff --git a/src/include/krb5/configure.in b/src/include/krb5/configure.in index 1ecc31200..da0a29157 100644 --- a/src/include/krb5/configure.in +++ b/src/include/krb5/configure.in @@ -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 diff --git a/src/include/krb5/k5-config.h b/src/include/krb5/k5-config.h index 7c9b66780..403979622 100644 --- a/src/include/krb5/k5-config.h +++ b/src/include/krb5/k5-config.h @@ -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