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/ntvfs/ntvfs_base.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'source4/ntvfs/ntvfs_base.c') diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c index b581588d9d..d8d73e95fe 100644 --- a/source4/ntvfs/ntvfs_base.c +++ b/source4/ntvfs/ntvfs_base.c @@ -203,15 +203,8 @@ NTSTATUS ntvfs_init_connection(TALLOC_CTX *mem_ctx, struct share_config *scfg, e NTSTATUS ntvfs_init(struct loadparm_context *lp_ctx) { static bool initialized = false; - extern NTSTATUS ntvfs_posix_init(void); - extern NTSTATUS ntvfs_cifs_init(void); - extern NTSTATUS ntvfs_smb2_init(void); - extern NTSTATUS ntvfs_nbench_init(void); - extern NTSTATUS ntvfs_unixuid_init(void); - extern NTSTATUS ntvfs_ipc_init(void); - extern NTSTATUS ntvfs_print_init(void); - extern NTSTATUS ntvfs_simple_init(void); - extern NTSTATUS ntvfs_cifs_posix_init(void); +#define _MODULE_PROTO(init) extern NTSTATUS init(void); + STATIC_ntvfs_MODULES_PROTO; init_module_fn static_init[] = { STATIC_ntvfs_MODULES }; init_module_fn *shared_init; -- cgit