From ed098b413633da293e5c93806e7fba80a1b0a502 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 26 Nov 2005 17:04:51 +0000 Subject: [PATCH] fix previous commit (overlay initializer prototypes were incorrect) --- configure | 2 +- configure.in | 2 +- servers/slapd/slap.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5