1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-31 12:23:52 +03:00

r15731: module init functions should return NTSTATUS, not void

This commit is contained in:
Andrew Tridgell
2006-05-20 03:08:44 +00:00
committed by Gerald (Jerry) Carter
parent 2ab8343e99
commit c6d20c2245
10 changed files with 20 additions and 10 deletions

View File

@@ -187,8 +187,9 @@ static int ejs_system_session(MprVarHandle eid, int argc, struct MprVar **argv)
/*
setup C functions that be called from ejs
*/
void smb_setup_ejs_auth(void)
NTSTATUS smb_setup_ejs_auth(void)
{
ejsDefineCFunction(-1, "userAuth", ejs_userAuth, NULL, MPR_VAR_SCRIPT_HANDLE);
ejsDefineCFunction(-1, "system_session", ejs_system_session, NULL, MPR_VAR_SCRIPT_HANDLE);
return NT_STATUS_OK;
}