mirror of
https://github.com/samba-team/samba.git
synced 2025-12-13 16:23:50 +03:00
r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
This commit is contained in:
committed by
Stefan Metzmacher
parent
03270c5ffd
commit
ba8be2dfc0
@@ -168,7 +168,7 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name)
|
||||
|
||||
int ldb_global_init(void)
|
||||
{
|
||||
int (*static_init_fns[])(void) = STATIC_LIBLDB_MODULES;
|
||||
int (*static_init_fns[])(void) = { STATIC_LIBLDB_MODULES, NULL };
|
||||
|
||||
static int initialized = 0;
|
||||
int ret = 0, i;
|
||||
|
||||
Reference in New Issue
Block a user