From: Pierangelo Masarati Date: Sat, 13 Dec 2003 10:57:13 +0000 (+0000) Subject: declare overlays_init() X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~208 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c5fe98a79afc5303a1e82a93fd759532f289d27;p=openldap declare overlays_init() --- diff --git a/servers/slapd/overlays/overlays.c b/servers/slapd/overlays/overlays.c index aca15a350d..2eb6d4848c 100644 --- a/servers/slapd/overlays/overlays.c +++ b/servers/slapd/overlays/overlays.c @@ -50,7 +50,9 @@ static struct { { NULL, NULL } }; -int overlay_init() { +int +overlay_init(void) +{ int i, rc = 0; for ( i=0; funcs[i].name; i++ ) { diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 3af0d579cf..67e5d4986d 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -844,6 +844,11 @@ LDAP_SLAPD_F (Operation *) slap_op_pop LDAP_P(( Operation **olist )); LDAP_SLAPD_F (Attribute *) slap_operational_subschemaSubentry( Backend *be ); LDAP_SLAPD_F (Attribute *) slap_operational_hasSubordinate( int has ); +/* + * overlays.c + */ +LDAP_SLAPD_F (int) overlay_init( void ); + /* * passwd.c */