fix previous commit (overlay initializer prototypes were incorrect)

This commit is contained in:
Pierangelo Masarati 2005-11-26 17:04:51 +00:00
parent b831ebba7d
commit ed098b4136
3 changed files with 4 additions and 4 deletions

2
configure vendored
View file

@ -46259,7 +46259,7 @@ if test "${STATIC_OVERLAYS}"; then
for o in ${STATIC_OVERLAYS}; do for o in ${STATIC_OVERLAYS}; do
oo=`echo "${o}" | sed -e 's/.o$//' -e 's/_x$//'` oo=`echo "${o}" | sed -e 's/.o$//' -e 's/_x$//'`
cat >> $OVERLAYSC << ENDX cat >> $OVERLAYSC << ENDX
extern BI_init ${oo}_initialize; extern OV_init ${oo}_initialize;
ENDX ENDX
done done
fi fi

View file

@ -3279,7 +3279,7 @@ if test "${STATIC_OVERLAYS}"; then
for o in ${STATIC_OVERLAYS}; do for o in ${STATIC_OVERLAYS}; do
oo=`echo "${o}" | sed -e 's/.o$//' -e 's/_x$//'` oo=`echo "${o}" | sed -e 's/.o$//' -e 's/_x$//'`
cat >> $OVERLAYSC << ENDX cat >> $OVERLAYSC << ENDX
extern BI_init ${oo}_initialize; extern OV_init ${oo}_initialize;
ENDX ENDX
done done
fi fi

View file

@ -3082,10 +3082,10 @@ struct zone_heap {
return 0; \ return 0; \
} }
typedef int (*OV_init)(void); typedef int (OV_init)(void);
typedef struct slap_oinit_t { typedef struct slap_oinit_t {
const char *ov_type; const char *ov_type;
OV_init ov_init; OV_init *ov_init;
} OverlayInit; } OverlayInit;
LDAP_END_DECL LDAP_END_DECL