lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *)
[gd/samba-autobuild/.git] / source4 / ntvfs / sysdep / sys_notify.c
index dee3295de80fee8353212fcfebf2b3513c0c36b0..aad3b900dd17c9014798f1e98d42d498670f7882 100644 (file)
@@ -135,14 +135,14 @@ _PUBLIC_ NTSTATUS sys_notify_register(struct sys_notify_backend *backend)
 _PUBLIC_ NTSTATUS sys_notify_init(void)
 {
        static bool initialized = false;
-#define _MODULE_PROTO(init) extern NTSTATUS init(void);
+#define _MODULE_PROTO(init) extern NTSTATUS init(TALLOC_CTX *);
        STATIC_sys_notify_MODULES_PROTO;
        init_module_fn static_init[] = { STATIC_sys_notify_MODULES };
 
        if (initialized) return NT_STATUS_OK;
        initialized = true;
 
-       run_init_functions(static_init);
+       run_init_functions(NULL, static_init);
        
        return NT_STATUS_OK;
 }