mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
rename ldap_pvt_init_utils() to ldap_int_utils_init() and provide
prototype in ldap-int.h.
This commit is contained in:
parent
d5509bbbe9
commit
8c793fa1c9
@ -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;
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user