mirror of
https://github.com/samba-team/samba.git
synced 2025-10-29 04:23:51 +03:00
r15731: module init functions should return NTSTATUS, not void
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
2ab8343e99
commit
c6d20c2245
@@ -98,7 +98,8 @@ static int ejs_random_init(MprVarHandle eid, int argc, struct MprVar **argv)
|
||||
/*
|
||||
setup C functions that be called from ejs
|
||||
*/
|
||||
void smb_setup_ejs_random(void)
|
||||
NTSTATUS smb_setup_ejs_random(void)
|
||||
{
|
||||
ejsDefineCFunction(-1, "random_init", ejs_random_init, NULL, MPR_VAR_SCRIPT_HANDLE);
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user