* k5-config.h: remove definition for KRB5_PROVIDE_PROTOTYPES
authorTom Yu <tlyu@mit.edu>
Fri, 23 Jun 1995 19:44:33 +0000 (19:44 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 23 Jun 1995 19:44:33 +0000 (19:44 +0000)
because we've reversed the sense

* configure.in: KBR5_PROVIDE_PROTOTYPES -> KRB5_NO_PROTOTYPES;
NO_NESTED_PROTOTYPES -> KRB5_NO_NESTED_PROTOTYPES

* rsa-md5.h: reverse sense of KRB5_PROVIDE_PROTOTYPES

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

src/include/krb5/ChangeLog
src/include/krb5/configure.in
src/include/krb5/k5-config.h
src/include/krb5/rsa-md5.h

index 5bb1233c4c49de78d11e5fe30fe708417b1039f2..5e5dcbc8b4d66e17c2198318144f5c663c56c610 100644 (file)
@@ -1,3 +1,12 @@
+Thu Jun 22 16:11:07 1995  Tom Yu  (tlyu@dragons-lair)
+
+       * k5-config.h: remove definition for KRB5_PROVIDE_PROTOTYPES
+               because we've reversed the sense
+
+       * configure.in: KBR5_PROVIDE_PROTOTYPES -> KRB5_NO_PROTOTYPES;
+               NO_NESTED_PROTOTYPES -> KRB5_NO_NESTED_PROTOTYPES
+
+       * rsa-md5.h: reverse sense of KRB5_PROVIDE_PROTOTYPES
 
 Thu Jun 22 11:52:07 EDT 1995   Paul Park       (pjpark@mit.edu)
        * adm_proto.h - Add prototypes for kadm library profile handling
index cca698b518e01181759c99adc500a26e2b1ea97c..1ecc312007a709a6cb573447e74f4fb3d151622f 100644 (file)
@@ -60,8 +60,8 @@ AC_CACHE_VAL(krb5_cv_has_prototypes,
 [int x(double y, int z);], [],
 krb5_cv_has_prototypes=yes, krb5_cv_has_prototypes=no)])
 AC_MSG_RESULT($krb5_cv_has_prototypes)
-if test $krb5_cv_has_prototypes = yes; then
-AC_DEFINE(KRB5_PROVIDE_PROTOTYPES)
+if test $krb5_cv_has_prototypes = no; then
+AC_DEFINE(KRB5_NO_PROTOTYPES)
 fi
 dnl *never* set NARROW_PROTOTYPES
 
@@ -73,7 +73,7 @@ AC_CACHE_VAL(krb5_cv_struct_prototypes,
 krb5_cv_struct_prototypes=yes, krb5_cv_struct_prototypes=no)])
 AC_MSG_RESULT($krb5_cv_struct_prototypes)
 if test $krb5_cv_struct_prototypes = no; then
-AC_DEFINE(NO_NESTED_PROTOTYPES)
+AC_DEFINE(KRB5_NO_NESTED_PROTOTYPES)
 fi
 dnl
 
index 244c5ae7fb016dc91acce773cbcf7f33d56793fb..7c9b6678092f355ebf357bbeeab257fbc83681c5 100644 (file)
@@ -61,7 +61,6 @@
 
 #define HAS_ANSI_VOLATILE
 #define HAS_VOID_TYPE
-#define KRB5_PROVIDE_PROTOTYPES
 #define HAVE_STDARG_H
 #define HAVE_SYS_TYPES_H
 
index b962830aaff15985db875258a959d6de4ecbe511..1a831ca0b2a8e3b717c827ad8c4bad78d074ddca 100644 (file)
@@ -48,7 +48,7 @@ typedef struct {
   unsigned char digest[16];            /* actual digest after MD5Final call */
 } MD5_CTX;
 
-#if defined(__STDC__) || defined(KRB5_PROVIDE_PROTOTYPES) || defined(_WINDOWS)
+#if (defined(__STDC__) || defined(_WINDOWS)) && !defined(KRB5_NO_PROTOTYPES)
 extern void MD5Init(MD5_CTX FAR *);
 extern void MD5Update (MD5_CTX FAR *, unsigned char FAR *, unsigned int);
 extern void MD5Final (MD5_CTX FAR *);