git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r15731: module init functions should return NTSTATUS, not void
[ira/wip.git]
/
source4
/
scripting
/
ejs
/
smbcalls_sys.c
diff --git
a/source4/scripting/ejs/smbcalls_sys.c
b/source4/scripting/ejs/smbcalls_sys.c
index b8382db296a9d9fcd3f53cdedc6f5956383cfb8f..860002e1d785e599d2ef165658c365963d479f28 100644
(file)
--- a/
source4/scripting/ejs/smbcalls_sys.c
+++ b/
source4/scripting/ejs/smbcalls_sys.c
@@
-351,7
+351,8
@@
static int ejs_sys_init(MprVarHandle eid, int argc, struct MprVar **argv)
/*
setup C functions that be called from ejs
*/
-
void
smb_setup_ejs_system(void)
+
NTSTATUS
smb_setup_ejs_system(void)
{
ejsDefineCFunction(-1, "sys_init", ejs_sys_init, NULL, MPR_VAR_SCRIPT_HANDLE);
+ return NT_STATUS_OK;
}