]> git.sur5r.net Git - openldap/commitdiff
fix previous commit (overlay initializer prototypes were incorrect)
authorPierangelo Masarati <ando@openldap.org>
Sat, 26 Nov 2005 17:04:51 +0000 (17:04 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 26 Nov 2005 17:04:51 +0000 (17:04 +0000)
configure
configure.in
servers/slapd/slap.h

index 1128bcb769dd323de2e0bad4100aed92f2044ba9..da5971d9c3557d6b1e336881cb67b79c798db70d 100755 (executable)
--- 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
index 29aff6ff7ba35444536d36a00f4b12027c6cbf3d..9c42e9c2a03bd8b69e9f0ec22586b64420982ffd 100644 (file)
@@ -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
index c338db5c84ff48d62a10443a7905e6dbfae5fffb..4379a6dadc167870b1b707c26e2cb50da200ba4c 100644 (file)
@@ -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