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/auth | |
parent | ac267899b49567b677289a23e83c09d19b1bdb3b (diff) | |
download | samba-c13ae707313c5bf9819a75c1699d099565d2494d.tar.gz |
r26580: Include sentinel in build.h, in case the list is empty.
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/auth.c | 2 | ||||
-rw-r--r-- | source4/auth/gensec/gensec.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/auth.c b/source4/auth/auth.c index 4bfc92e8f9d..ed590f2ced5 100644 --- a/source4/auth/auth.c +++ b/source4/auth/auth.c @@ -516,7 +516,7 @@ NTSTATUS auth_init(void) { static bool initialized = false; - init_module_fn static_init[] = { STATIC_auth_MODULES, NULL }; + init_module_fn static_init[] = { STATIC_auth_MODULES }; if (initialized) return NT_STATUS_OK; initialized = true; diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c index 6f7ff91db6c..cd2066d9fd5 100644 --- a/source4/auth/gensec/gensec.c +++ b/source4/auth/gensec/gensec.c @@ -1268,7 +1268,7 @@ NTSTATUS gensec_init(struct loadparm_context *lp_ctx) { static bool initialized = false; - init_module_fn static_init[] = { STATIC_gensec_MODULES, NULL }; + init_module_fn static_init[] = { STATIC_gensec_MODULES }; init_module_fn *shared_init; if (initialized) return NT_STATUS_OK; |