From: Pierangelo Masarati Date: Sun, 15 Oct 2006 18:03:25 +0000 (+0000) Subject: missing decl X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~49 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b6525c14d9f10c90fe1a61e1c72488464aafdd90;p=openldap missing decl --- diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index 823d3fbd17..e7c4222b7d 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -86,8 +86,8 @@ int entry_destroy(void) return attr_destroy(); } - -int entry_init(void) +int +entry_init(void) { ldap_pvt_thread_mutex_init( &entry2str_mutex ); ldap_pvt_thread_mutex_init( &entry_mutex ); diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 61b2320e41..a0cfa0674c 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -843,6 +843,7 @@ LDAP_SLAPD_F (int) register_certificate_map_function LDAP_P(( SLAP_CERT_MAP_FN * */ LDAP_SLAPD_V (const Entry) slap_entry_root; +LDAP_SLAPD_F (int) entry_init LDAP_P((void)); LDAP_SLAPD_F (int) entry_destroy LDAP_P((void)); LDAP_SLAPD_F (Entry *) str2entry LDAP_P(( char *s ));