mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
fix automated static build
This commit is contained in:
parent
5657a5e4f9
commit
f9f8623f6e
1 changed files with 6 additions and 2 deletions
|
|
@ -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 a new issue