summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ZInit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ZInit.c b/lib/ZInit.c
index 2113c8d..42ef2ad 100644
--- a/lib/ZInit.c
+++ b/lib/ZInit.c
@@ -35,7 +35,7 @@ static const char rcsid_ZInitialize_c[] =
#if defined(HAVE_KRB5) && defined(KRB5_REFERRAL_REALM)
#include <profile.h>
-int z_get_host_realm_replacement(char *, char ***);
+static int z_get_host_realm_replacement(char *, char ***);
#endif
Code_t
@@ -318,7 +318,8 @@ static int txt_lookup(char *qname, char **result) {
return -1;
}
-int z_get_host_realm_replacement(char *inhost, char ***krealms) {
+static int
+z_get_host_realm_replacement(char *inhost, char ***krealms) {
char *host, *p;
char *realm = NULL;
char *default_realm = NULL;