summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mixgtk/gmixvm.c4
-rw-r--r--mixguile/mixguile.h7
-rw-r--r--mixutils/mixvm_loop.c4
3 files changed, 9 insertions, 6 deletions
diff --git a/mixgtk/gmixvm.c b/mixgtk/gmixvm.c
index baa87ec..60892b5 100644
--- a/mixgtk/gmixvm.c
+++ b/mixgtk/gmixvm.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- gmixvm.c :
* Main function of the mix gtk front-end
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002, 2006, 2007 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002, 2006, 2007, 2009 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@ static gboolean initfile_ = TRUE;
# include <mixguile/mixguile.h>
# include "mixgtk_cmd_dispatcher.h"
static void
-inner_main_ (int argc, char *argv[])
+inner_main_ (void *closure, int argc, char *argv[])
{
mixgtk_init (argc, argv);
mixguile_set_cmd_dispatcher (mixgtk_cmd_dispatcher_get_mix_dispatcher ());
diff --git a/mixguile/mixguile.h b/mixguile/mixguile.h
index dfa8219..d122d44 100644
--- a/mixguile/mixguile.h
+++ b/mixguile/mixguile.h
@@ -44,7 +44,10 @@ mixguile_load_bootstrap (gboolean localinit);
main function.
*/
extern void
-mixguile_init (int argc, char *argv[], gboolean initfile, main_func_t main_fun,
+mixguile_init (int argc,
+ char *argv[],
+ gboolean initfile,
+ main_func_t main_fun,
mix_vm_cmd_dispatcher_t *dis);
/* set the command dispatcher */
@@ -53,7 +56,7 @@ mixguile_set_cmd_dispatcher (mix_vm_cmd_dispatcher_t *dis);
/* enter the guile repl */
extern void
-mixguile_enter_repl (void *closure,int argc, char *argv[]);
+mixguile_enter_repl (void *closure, int argc, char *argv[]);
/* access the comand dispatcher */
extern mix_vm_cmd_dispatcher_t *
diff --git a/mixutils/mixvm_loop.c b/mixutils/mixvm_loop.c
index ad486f0..b19022a 100644
--- a/mixutils/mixvm_loop.c
+++ b/mixutils/mixvm_loop.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mixvm_loop.c :
* Implementation of mix vm command loop.
* ------------------------------------------------------------------
- * Copyright (C) 2000, 2001, 2002, 2004, 2006, 2007 Free Software Foundation, Inc.
+ * Copyright (C) 2000, 2001, 2002, 2004, 2006, 2007, 2009 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -118,7 +118,7 @@ mix_vmloop_set_prompt (const gchar *prompt)
}
static void
-loop_ (int argc, char *argv[])
+loop_ (void *closure, int argc, char *argv[])
{
while ( mixvm_cmd_exec (rl_gets ()) )
;