From 28c1e4d3eb3162c0177085bae753102994a35846 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Nov 2010 15:38:37 +1100 Subject: s4-modules: get rid of the remaining static prototypes for modules the waf build now generates the prototype declarations for us --- source4/ntptr/ntptr_base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/ntptr') diff --git a/source4/ntptr/ntptr_base.c b/source4/ntptr/ntptr_base.c index 287a4b6777..268e84b127 100644 --- a/source4/ntptr/ntptr_base.c +++ b/source4/ntptr/ntptr_base.c @@ -70,7 +70,8 @@ NTSTATUS ntptr_register(const void *_ops) NTSTATUS ntptr_init(struct loadparm_context *lp_ctx) { - extern NTSTATUS ntptr_simple_ldb_init(void); +#define _MODULE_PROTO(init) extern NTSTATUS init(void); + STATIC_ntptr_MODULES_PROTO; init_module_fn static_init[] = { STATIC_ntptr_MODULES }; init_module_fn *shared_init = load_samba_modules(NULL, lp_ctx, "ntptr"); -- cgit