summaryrefslogtreecommitdiffstats
path: root/dynl.c
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-03-03 00:56:40 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-03-03 00:56:40 -0800
commitfd5f104f287427fee885583bc398c137674e6af0 (patch)
tree151d1875fdbbc52fd992f53ee197f7070c5f73d1 /dynl.c
parent90889a692076f2c62486607d0354e0fca52364bc (diff)
downloadscm-upstream/5f2.tar.gz
scm-upstream/5f2.zip
New upstream version 5f2upstream/5f2upstream
Diffstat (limited to 'dynl.c')
-rwxr-xr-x[-rw-r--r--]dynl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dynl.c b/dynl.c
index 171670b..f63e05b 100644..100755
--- a/dynl.c
+++ b/dynl.c
@@ -374,7 +374,7 @@ SCM l_dyn_link(fname)
DEFER_INTS;
handle = dlopen(CHARS(fname), DLOPEN_MODE);
if (NULL==handle) {
- if (verbose > 1) {
+ if (scm_verbose > 1) {
char *dlr = dlerror();
ALLOW_INTS;
if (dlr) {
@@ -444,7 +444,7 @@ SCM l_dyn_main_call(symb, shl, args)
argv = makargvfrmstrs(args, s_main_call);
ALLOW_INTS;
/* *loc_loadpath = linkpath; */
- i = (*func) ((int)ilength(args), argv);
+ i = (*func) ((int)ilength(args), (const char**)argv);
/* *loc_loadpath = oloadpath; */
DEFER_INTS;
must_free_argv(argv);