From: Ken Raeburn Date: Thu, 2 Nov 2006 03:16:02 +0000 (+0000) Subject: * svr_principal.c (kadm5_use_password_server): Define only if USE_PASSWORD_SERVER X-Git-Tag: krb5-1.7-alpha1~1471 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7bfe2a95aaa00777e550e5112c681459ec537787;p=krb5.git * svr_principal.c (kadm5_use_password_server): Define only if USE_PASSWORD_SERVER git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18759 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/srv/svr_principal.c b/src/lib/kadm5/srv/svr_principal.c index f94d7e893..0a66a0631 100644 --- a/src/lib/kadm5/srv/svr_principal.c +++ b/src/lib/kadm5/srv/svr_principal.c @@ -1173,11 +1173,13 @@ static kadm5_ret_t add_to_history(krb5_context context, /* FIXME: don't use global variable for this */ krb5_boolean use_password_server = 0; +#ifdef USE_PASSWORD_SERVER static krb5_boolean kadm5_use_password_server (void) { return use_password_server; } +#endif void kadm5_set_use_password_server (void)