From 7825c3f3e4a144791b2fa6c7c135f850fffe6a3a Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 18 Jul 2000 14:38:33 +0000 Subject: [PATCH] * locate_kdc.c, hst_realm.c, def_realm.c, changepw.c: Include os-proto.h for internal prototypes. * os-proto.h: Prototypes for _krb5_use_dns_realm(), _krb5_use_dns_kdc(), _krb5_conf_boolean(). * t_std_conf.c: Include k5-int.h for internal function prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12556 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 10 ++++++++++ src/lib/krb5/os/changepw.c | 1 + src/lib/krb5/os/def_realm.c | 1 + src/lib/krb5/os/hst_realm.c | 1 + src/lib/krb5/os/locate_kdc.c | 1 + src/lib/krb5/os/os-proto.h | 5 +++++ src/lib/krb5/os/t_std_conf.c | 2 +- 7 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 89ae4715e..87e99ad41 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,13 @@ +2000-07-18 Ezra Peisach + + * locate_kdc.c, hst_realm.c, def_realm.c, changepw.c: Include + os-proto.h for internal prototypes. + + * os-proto.h: Prototypes for _krb5_use_dns_realm(), + _krb5_use_dns_kdc(), _krb5_conf_boolean(). + + * t_std_conf.c: Include k5-int.h for internal function prototypes. + 2000-06-30 Ezra Peisach * t_an_to_ln.c: Include for prototypes. diff --git a/src/lib/krb5/os/changepw.c b/src/lib/krb5/os/changepw.c index 74b33ff8f..86df506f5 100644 --- a/src/lib/krb5/os/changepw.c +++ b/src/lib/krb5/os/changepw.c @@ -27,6 +27,7 @@ #define NEED_SOCKETS #include "k5-int.h" +#include "os-proto.h" #include "adm_err.h" #include diff --git a/src/lib/krb5/os/def_realm.c b/src/lib/krb5/os/def_realm.c index b2a9e1dd1..01fd46517 100644 --- a/src/lib/krb5/os/def_realm.c +++ b/src/lib/krb5/os/def_realm.c @@ -29,6 +29,7 @@ */ #include "k5-int.h" +#include "os-proto.h" #include #ifdef KRB5_DNS_LOOKUP diff --git a/src/lib/krb5/os/hst_realm.c b/src/lib/krb5/os/hst_realm.c index 965a991c3..10c81b10b 100644 --- a/src/lib/krb5/os/hst_realm.c +++ b/src/lib/krb5/os/hst_realm.c @@ -67,6 +67,7 @@ #define NEED_SOCKETS #include "k5-int.h" +#include "os-proto.h" #include #include #ifdef HAVE_STRING_H diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index 75c4e95a4..b7e6826b8 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -29,6 +29,7 @@ #define NEED_SOCKETS #include "k5-int.h" +#include "os-proto.h" #include #ifdef KRB5_DNS_LOOKUP #ifdef WSHELPER diff --git a/src/lib/krb5/os/os-proto.h b/src/lib/krb5/os/os-proto.h index a6b67f15e..111bf5897 100644 --- a/src/lib/krb5/os/os-proto.h +++ b/src/lib/krb5/os/os-proto.h @@ -55,4 +55,9 @@ krb5_error_code krb5_make_full_ipaddr #endif /* HAVE_NETINET_IN_H */ +int _krb5_use_dns_realm KRB5_PROTOTYPE((krb5_context)); +int _krb5_use_dns_kdc KRB5_PROTOTYPE((krb5_context)); +int _krb5_conf_boolean KRB5_PROTOTYPE((const char *)); + + #endif /* KRB5_LIBOS_INT_PROTO__ */ diff --git a/src/lib/krb5/os/t_std_conf.c b/src/lib/krb5/os/t_std_conf.c index a95c67ad5..3f49708c2 100644 --- a/src/lib/krb5/os/t_std_conf.c +++ b/src/lib/krb5/os/t_std_conf.c @@ -3,7 +3,7 @@ * values from the krb5 config file(s). */ -#include "krb5.h" +#include "k5-int.h" #include #include -- 2.26.2