diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-24 01:28:22 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-24 01:51:07 -0600 |
commit | c13ae707313c5bf9819a75c1699d099565d2494d (patch) | |
tree | 9bc499e9ec34156cb7d3f58601fb41b7a92c5f61 /source4/smbd | |
parent | ac267899b49567b677289a23e83c09d19b1bdb3b (diff) | |
download | samba-c13ae707313c5bf9819a75c1699d099565d2494d.tar.gz samba-c13ae707313c5bf9819a75c1699d099565d2494d.tar.bz2 samba-c13ae707313c5bf9819a75c1699d099565d2494d.zip |
r26580: Include sentinel in build.h, in case the list is empty.
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/process_model.c | 2 | ||||
-rw-r--r-- | source4/smbd/server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c index dc3ede613c..8939637c3f 100644 --- a/source4/smbd/process_model.c +++ b/source4/smbd/process_model.c @@ -82,7 +82,7 @@ _PUBLIC_ NTSTATUS register_process_model(const void *_ops) NTSTATUS process_model_init(struct loadparm_context *lp_ctx) { - init_module_fn static_init[] = { STATIC_process_model_MODULES, NULL }; + init_module_fn static_init[] = { STATIC_process_model_MODULES }; init_module_fn *shared_init = load_samba_modules(NULL, lp_ctx, "process_model"); run_init_functions(static_init); diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 78892b6760..c256eed96c 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -187,7 +187,7 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[ bool opt_interactive = false; int opt; poptContext pc; - init_module_fn static_init[] = { STATIC_service_MODULES, NULL }; + init_module_fn static_init[] = { STATIC_service_MODULES }; init_module_fn *shared_init; struct event_context *event_ctx; NTSTATUS status; |