s4-modules: get rid of the remaining static prototypes for modules
[sfrench/samba-autobuild/.git] / source4 / ntvfs / sysdep / sys_lease.c
index 12fd83e8e0ef0bdaec830728ef243cd0f27bbaae..8b0b3a51107810a88cca14764b446fc884831668 100644 (file)
@@ -107,15 +107,11 @@ _PUBLIC_ NTSTATUS sys_lease_register(const struct sys_lease_ops *backend)
        return NT_STATUS_OK;
 }
 
-#ifndef STATIC_sys_lease_MODULES 
-#define STATIC_sys_lease_MODULES NULL
-#endif
-
 _PUBLIC_ NTSTATUS sys_lease_init(void)
 {
        static bool initialized = false;
-       extern NTSTATUS sys_lease_linux_init(void);
-
+#define _MODULE_PROTO(init) extern NTSTATUS init(void);
+       STATIC_sys_lease_MODULES_PROTO;
        init_module_fn static_init[] = { STATIC_sys_lease_MODULES };
 
        if (initialized) return NT_STATUS_OK;