diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-21 07:08:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:58:59 -0500 |
commit | dab516d3e72360a10962d37a06df6aee33b1a63f (patch) | |
tree | 9161fd6fbe309b1c0a723d6d7a4591250ddbd8f8 /source4/scripting/ejs/smbscript.c | |
parent | d64ccc01769ce274c74d8458f9ef81cdcc8986f6 (diff) | |
download | samba-dab516d3e72360a10962d37a06df6aee33b1a63f.tar.gz samba-dab516d3e72360a10962d37a06df6aee33b1a63f.tar.bz2 samba-dab516d3e72360a10962d37a06df6aee33b1a63f.zip |
r14603: Fix building of ejs modules as shared libs
Fix calling of ejs_exception() without requiring --export-dynamic
(This used to be commit 8575e9a4903450aae1f29f55aae516085a9528bb)
Diffstat (limited to 'source4/scripting/ejs/smbscript.c')
-rw-r--r-- | source4/scripting/ejs/smbscript.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/ejs/smbscript.c b/source4/scripting/ejs/smbscript.c index 86947bdf8e..d602a7733b 100644 --- a/source4/scripting/ejs/smbscript.c +++ b/source4/scripting/ejs/smbscript.c @@ -30,7 +30,7 @@ static EjsId eid; -_PUBLIC_ void ejs_exception(const char *reason) +static void smbscript_ejs_exception(const char *reason) { Ejs *ep = ejsPtr(eid); ejsSetErrorMsg(eid, "%s", reason); @@ -72,7 +72,7 @@ int main(int argc, const char **argv) exit(127); } - smb_setup_ejs_functions(); + smb_setup_ejs_functions(smbscript_ejs_exception); if ((eid = ejsOpenEngine(handle, 0)) == (EjsId)-1) { fprintf(stderr, "smbscript: ejsOpenEngine(): unable to " |