diff options
Diffstat (limited to 'source4/scripting/ejs/ejsnet')
-rw-r--r-- | source4/scripting/ejs/ejsnet/config.mk | 5 | ||||
-rw-r--r-- | source4/scripting/ejs/ejsnet/net_ctx.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source4/scripting/ejs/ejsnet/config.mk b/source4/scripting/ejs/ejsnet/config.mk index 6e624886d6..ce71ff51df 100644 --- a/source4/scripting/ejs/ejsnet/config.mk +++ b/source4/scripting/ejs/ejsnet/config.mk @@ -1,8 +1,9 @@ [MODULE::smbcalls_net] -PRIVATE_PROTO_HEADER = proto.h -INIT_FUNCTION = smb_setup_ejs_net OBJ_FILES = \ net_ctx.o \ net_user.o \ mpr_user.o +SUBSYSTEM = smbcalls +INIT_FUNCTION = smb_setup_ejs_net +PRIVATE_PROTO_HEADER = proto.h PRIVATE_DEPENDENCIES = LIBSAMBA-NET LIBCLI_SMB CREDENTIALS diff --git a/source4/scripting/ejs/ejsnet/net_ctx.c b/source4/scripting/ejs/ejsnet/net_ctx.c index f58a59461a..e837702ff8 100644 --- a/source4/scripting/ejs/ejsnet/net_ctx.c +++ b/source4/scripting/ejs/ejsnet/net_ctx.c @@ -203,7 +203,7 @@ static int ejs_net_samsync_ldb(MprVarHandle eid, int argc, struct MprVar **argv) } -void smb_set_ejs_net(void) +void smb_setup_ejs_net(void) { ejsDefineCFunction(-1, "NetContext", ejs_net_context, NULL, MPR_VAR_SCRIPT_HANDLE); } |