mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
fix automated static build
This commit is contained in:
parent
5657a5e4f9
commit
f9f8623f6e
@ -263,7 +263,11 @@ static slap_overinst constraint_ovl;
|
||||
* initialized and registered by some other function inside slapd.
|
||||
*/
|
||||
|
||||
int constraint_init() {
|
||||
#if SLAPD_OVER_CONSTRAINT == SLAPD_MOD_DYNAMIC
|
||||
static
|
||||
#endif
|
||||
int
|
||||
constraint_initialize( void ) {
|
||||
constraint_ovl.on_bi.bi_type = "constraint";
|
||||
constraint_ovl.on_bi.bi_db_config = constraint_config;
|
||||
constraint_ovl.on_bi.bi_db_close = constraint_close;
|
||||
@ -275,7 +279,7 @@ int constraint_init() {
|
||||
|
||||
#if SLAPD_OVER_CONSTRAINT == SLAPD_MOD_DYNAMIC
|
||||
int init_module(int argc, char *argv[]) {
|
||||
return constraint_init();
|
||||
return constraint_initialize();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user