summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls_samba3.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-05-20 03:08:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:10 -0500
commit0dcecc314899b6f36e9215e0b3881220062ba4f9 (patch)
treedc14cf4b2884d91ad2d650e9b7dddeb8f8c9cdb3 /source4/scripting/ejs/smbcalls_samba3.c
parentdda3dceac78bf6a176624320db400341d971b26d (diff)
downloadsamba-0dcecc314899b6f36e9215e0b3881220062ba4f9.tar.gz
samba-0dcecc314899b6f36e9215e0b3881220062ba4f9.tar.bz2
samba-0dcecc314899b6f36e9215e0b3881220062ba4f9.zip
r15731: module init functions should return NTSTATUS, not void
(This used to be commit c6d20c22454b87b4dea3527f0efcecd373679848)
Diffstat (limited to 'source4/scripting/ejs/smbcalls_samba3.c')
-rw-r--r--source4/scripting/ejs/smbcalls_samba3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_samba3.c b/source4/scripting/ejs/smbcalls_samba3.c
index 0bcc670552..64517bad28 100644
--- a/source4/scripting/ejs/smbcalls_samba3.c
+++ b/source4/scripting/ejs/smbcalls_samba3.c
@@ -494,7 +494,8 @@ static int ejs_samba3_read(MprVarHandle eid, int argc, struct MprVar **argv)
/*
setup C functions that be called from ejs
*/
-void smb_setup_ejs_samba3(void)
+NTSTATUS smb_setup_ejs_samba3(void)
{
ejsDefineCFunction(-1, "samba3_read", ejs_samba3_read, NULL, MPR_VAR_SCRIPT_HANDLE);
+ return NT_STATUS_OK;
}