From: Ezra Peisach Date: Mon, 22 Jan 2007 14:32:15 +0000 (+0000) Subject: Include fake-addrinfo.h before krb5.h to get proper structure declarations X-Git-Tag: krb5-1.7-alpha1~1322 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=53585c4380b798de18518b57dcf92bbf1efa7dd8;p=krb5.git Include fake-addrinfo.h before krb5.h to get proper structure declarations git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19103 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/t_locate_kdc.c b/src/lib/krb5/os/t_locate_kdc.c index 165366f5b..20e07af66 100644 --- a/src/lib/krb5/os/t_locate_kdc.c +++ b/src/lib/krb5/os/t_locate_kdc.c @@ -5,6 +5,7 @@ #include #define TEST +#include "fake-addrinfo.h" #include "dnsglue.c" #include "dnssrv.c" #include "locate_kdc.c" @@ -19,13 +20,13 @@ const char *prog; struct addrlist al; -void kfatal (krb5_error_code err) +static void kfatal (krb5_error_code err) { com_err (prog, err, "- exiting"); exit (1); } -const char *stypename (int stype) +static const char *stypename (int stype) { static char buf[20]; switch (stype) { @@ -41,7 +42,7 @@ const char *stypename (int stype) } } -void print_addrs (void) +static void print_addrs (void) { int i;