1
0
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:
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

@@ -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;
}