From: Pierangelo Masarati Date: Sat, 26 Nov 2005 17:04:51 +0000 (+0000) Subject: fix previous commit (overlay initializer prototypes were incorrect) X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~676 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ed098b413633da293e5c93806e7fba80a1b0a502;p=openldap fix previous commit (overlay initializer prototypes were incorrect) --- diff --git a/configure b/configure index 1128bcb769..da5971d9c3 100755 --- a/configure +++ b/configure @@ -46259,7 +46259,7 @@ if test "${STATIC_OVERLAYS}"; then for o in ${STATIC_OVERLAYS}; do oo=`echo "${o}" | sed -e 's/.o$//' -e 's/_x$//'` cat >> $OVERLAYSC << ENDX -extern BI_init ${oo}_initialize; +extern OV_init ${oo}_initialize; ENDX done fi diff --git a/configure.in b/configure.in index 29aff6ff7b..9c42e9c2a0 100644 --- a/configure.in +++ b/configure.in @@ -3279,7 +3279,7 @@ if test "${STATIC_OVERLAYS}"; then for o in ${STATIC_OVERLAYS}; do oo=`echo "${o}" | sed -e 's/.o$//' -e 's/_x$//'` cat >> $OVERLAYSC << ENDX -extern BI_init ${oo}_initialize; +extern OV_init ${oo}_initialize; ENDX done fi diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index c338db5c84..4379a6dadc 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -3082,10 +3082,10 @@ struct zone_heap { return 0; \ } -typedef int (*OV_init)(void); +typedef int (OV_init)(void); typedef struct slap_oinit_t { const char *ov_type; - OV_init ov_init; + OV_init *ov_init; } OverlayInit; LDAP_END_DECL