diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-01 15:38:37 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-01 18:55:19 +1100 |
commit | 28c1e4d3eb3162c0177085bae753102994a35846 (patch) | |
tree | 60f1b1ee601024af24723fa0170b8e5994b6e754 /source4/ntptr | |
parent | 4404b4c700270c7607d7b8d792ab23ce1d080463 (diff) | |
download | samba-28c1e4d3eb3162c0177085bae753102994a35846.tar.gz samba-28c1e4d3eb3162c0177085bae753102994a35846.tar.bz2 samba-28c1e4d3eb3162c0177085bae753102994a35846.zip |
s4-modules: get rid of the remaining static prototypes for modules
the waf build now generates the prototype declarations for us
Diffstat (limited to 'source4/ntptr')
-rw-r--r-- | source4/ntptr/ntptr_base.c | 3 |
1 files changed, 2 insertions, 1 deletions
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"); |