From 481f2576e2af8ef01340b3e5d6a493eab83d2305 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 23 Jul 1999 03:10:58 +0000 Subject: [PATCH] Rename conf_boolean to krb5_conf_boolean and remove the static designation so that the function may be used in other modules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11585 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/get_in_tkt.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index 679ecc492..1002195ae 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -556,7 +556,7 @@ cleanup: return (retval); } -/* begin libdefaults parsing code. This should almost certainly move +/* begin appdefaults parsing code. This should almost certainly move somewhere else, but I don't know where the correct somewhere else is yet. */ @@ -571,7 +571,7 @@ static char *conf_no[] = { 0, }; -static int conf_boolean(s) +int krb5_conf_boolean(s) char *s; { char **p; @@ -666,6 +666,7 @@ goodbye: } /* not static so verify_init_creds() can call it */ +/* as well as the DNS code */ krb5_error_code krb5_appdefault_boolean(context, realm, option, ret_value) @@ -682,7 +683,7 @@ krb5_appdefault_boolean(context, realm, option, ret_value) if (retval) return(retval); - *ret_value = conf_boolean(string); + *ret_value = krb5_conf_boolean(string); free(string); return(0); -- 2.26.2