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/param/share.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/param/share.c') diff --git a/source4/param/share.c b/source4/param/share.c index 13d591ec1b..477ced7167 100644 --- a/source4/param/share.c +++ b/source4/param/share.c @@ -146,8 +146,8 @@ NTSTATUS share_get_context_by_name(TALLOC_CTX *mem_ctx, const char *backend_name */ NTSTATUS share_init(void) { - extern NTSTATUS share_ldb_init(void); - extern NTSTATUS share_classic_init(void); +#define _MODULE_PROTO(init) extern NTSTATUS init(void); + STATIC_share_MODULES_PROTO; init_module_fn static_init[] = { STATIC_share_MODULES }; run_init_functions(static_init); -- cgit