summaryrefslogtreecommitdiff
path: root/src/if_mzsch.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-05-05 18:24:42 +0000
committerBram Moolenaar <Bram@vim.org>2007-05-05 18:24:42 +0000
commitc81e5e79a0f2f5c2ac1896fa51cbe47e2e2a8d97 (patch)
tree5211ea86daed8e43c3dd25458e808c3d32100097 /src/if_mzsch.c
parent9aae141a6bcfc26bcce352deb8bf34566a3e1be2 (diff)
downloadvim-git-c81e5e79a0f2f5c2ac1896fa51cbe47e2e2a8d97.tar.gz
updated for version 7.1a
Diffstat (limited to 'src/if_mzsch.c')
-rw-r--r--src/if_mzsch.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/if_mzsch.c b/src/if_mzsch.c
index 706f4ca8c..c325a9239 100644
--- a/src/if_mzsch.c
+++ b/src/if_mzsch.c
@@ -100,7 +100,7 @@ typedef struct
#ifdef HAVE_SANDBOX
static Scheme_Object *sandbox_file_guard(int, Scheme_Object **);
static Scheme_Object *sandbox_network_guard(int, Scheme_Object **);
-static void sandbox_check();
+static void sandbox_check(void);
#endif
/* Buffer-related commands */
static Scheme_Object *buffer_new(buf_T *buf);
@@ -2441,7 +2441,8 @@ raise_vim_exn(const char *add_info)
else
argv[0] = scheme_make_string(_("Vim error"));
- argv[1] = scheme_current_continuation_marks();
+ /* TODO: proper argument */
+ argv[1] = scheme_current_continuation_marks(NULL);
scheme_raise(scheme_make_struct_instance(vim_exn, 2, argv));
}
@@ -2659,7 +2660,7 @@ static Scheme_Object *M_execute = NULL;
static Scheme_Object *M_delete = NULL;
static void
-sandbox_check()
+sandbox_check(void)
{
if (sandbox)
raise_vim_exn(_("not allowed in the Vim sandbox"));