From: Kurt Zeilenga Date: Thu, 27 May 1999 22:25:55 +0000 (+0000) Subject: rename ldap_pvt_init_utils() to ldap_int_utils_init() and provide X-Git-Tag: OPENLDAP_REL_ENG_2_BP~505 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8c793fa1c9448716b777f0bd5c1e1ea1be9b587f;p=openldap rename ldap_pvt_init_utils() to ldap_int_utils_init() and provide prototype in ldap-int.h. --- diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c index 0317d26a48..8c22855fd8 100644 --- a/libraries/libldap/init.c +++ b/libraries/libldap/init.c @@ -290,7 +290,7 @@ void openldap_ldap_initialize( void ) return; } - ldap_pvt_init_utils(); + ldap_int_utils_init(); gopts.ldo_version = LDAP_VERSION2; gopts.ldo_deref = LDAP_DEREF_NEVER; diff --git a/libraries/libldap/ldap-int.h b/libraries/libldap/ldap-int.h index 3e236a80d2..d818787487 100644 --- a/libraries/libldap/ldap-int.h +++ b/libraries/libldap/ldap-int.h @@ -249,6 +249,13 @@ extern int openldap_ldap_initialized; extern struct ldapoptions openldap_ldap_global_options; void openldap_ldap_initialize LDAP_P((void)); + +/* + * in unit-int.c + */ +void ldap_int_utils_init LDAP_P(( void )); + + /* * in print.c */ diff --git a/libraries/libldap/util-int.c b/libraries/libldap/util-int.c index fb6e894ee7..7ee5da8b57 100644 --- a/libraries/libldap/util-int.c +++ b/libraries/libldap/util-int.c @@ -249,10 +249,10 @@ int ldap_pvt_gethostbyaddr_a( #endif } /* - * ldap_pvt_init_utils() should be called before any other function. + * ldap_int_utils_init() should be called before any other function. */ -void ldap_pvt_init_utils( void ) +void ldap_int_utils_init( void ) { static int done=0; if (done)