From: Theodore Tso Date: Fri, 7 May 1999 21:06:40 +0000 (+0000) Subject: Fix the existing kludge to deal with the fact that krb5_realm_params X-Git-Tag: krb5-1.1-beta1~178 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=109db6f407e76e7150d9b9632d4dbf94cba2e507;p=krb5.git 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11426 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 49889913f..191a1f2a0 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,11 @@ +Fri May 7 15:26:44 1999 Theodore Y. Ts'o + + * 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 * Makefile.in (all-windows): Don't constantly recreate autoconf.h diff --git a/src/include/krb5/adm_proto.h b/src/include/krb5/adm_proto.h index 9134d9469..5e9b984bc 100644 --- a/src/include/krb5/adm_proto.h +++ b/src/include/krb5/adm_proto.h @@ -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;