Fix the existing kludge to deal with the fact that krb5_realm_params
authorTheodore Tso <tytso@mit.edu>
Fri, 7 May 1999 21:06:40 +0000 (21:06 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 7 May 1999 21:06:40 +0000 (21:06 +0000)
is defined in two, count them two, header files.  There's real
ugliness here that needs cleaning up eventually, but I don't have the
time now to deal with it.

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

src/include/krb5/ChangeLog
src/include/krb5/adm_proto.h

index 49889913fbe54ba006bb4ee5ef0e8b0ef719e178..191a1f2a0296b633830fa2fcf2dca5f72c0f3be4 100644 (file)
@@ -1,3 +1,11 @@
+Fri May  7 15:26:44 1999  Theodore Y. Ts'o  <tytso@mit.edu>
+
+       * adm_proto.h: Fix the existing kludge to deal with the fact that
+               krb5_realm_params is defined in two, count them two,
+               header files.  There's real ugliness here that needs
+               cleaning up eventually, but I don't have the time now to
+               deal with it.
+
 Fri Apr 16 17:07:47 1999  Theodore Y. Ts'o  <tytso@mit.edu>
 
        * Makefile.in (all-windows): Don't constantly recreate autoconf.h
index 9134d94697d7f21aa15ceaffeccfcb5f275acc82..5e9b984bcf0d7f01807558e86041d338636639d9 100644 (file)
@@ -33,7 +33,12 @@ typedef struct _krb5_db_entry krb5_db_entry;
 #endif /* KRB5_KDB5__ */
 
 /* Ditto for adm.h */
-#ifndef        KRB5_ADM_H__
+
+/*
+ * XXXX krb5_realm params is defined in two header files!!!!
+ * This really needs to be fixed!!!
+ */
+#if !defined(KRB5_ADM_H__) && !defined(__KADM5_ADMIN_H__)
 struct ___krb5_realm_params;
 typedef struct ___krb5_realm_params krb5_realm_params;