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/scripting | |
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/scripting')
-rw-r--r-- | source4/scripting/ejs/smbcalls.c | 2 | ||||
-rw-r--r-- | source4/scripting/python/config.mk | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls.c b/source4/scripting/ejs/smbcalls.c index da13f1f6ef..1f29fce002 100644 --- a/source4/scripting/ejs/smbcalls.c +++ b/source4/scripting/ejs/smbcalls.c @@ -173,7 +173,7 @@ _PUBLIC_ void ejs_exception(const char *reason) */ void smb_setup_ejs_functions(void (*exception_handler)(const char *)) { - init_module_fn static_init[] = { STATIC_smbcalls_MODULES, NULL }; + init_module_fn static_init[] = { STATIC_smbcalls_MODULES }; init_module_fn *shared_init; ejs_exception_handler = exception_handler; diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk index 601e432906..226f9637db 100644 --- a/source4/scripting/python/config.mk +++ b/source4/scripting/python/config.mk @@ -4,6 +4,7 @@ OBJ_FILES = smbpython.o [SUBSYSTEM::LIBPYTHON] PUBLIC_DEPENDENCIES = EXT_LIB_PYTHON +INIT_FUNCTION_SENTINEL = { NULL, NULL } OBJ_FILES = modules.o [PYTHON::python_uuid] |