aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-cmd-env.c3
-rw-r--r--gdb/mi/mi-cmds.c3
-rw-r--r--gdb/mi/mi-interp.c3
-rw-r--r--gdb/mi/mi-main.c3
4 files changed, 8 insertions, 4 deletions
diff --git a/gdb/mi/mi-cmd-env.c b/gdb/mi/mi-cmd-env.c
index 7514ba8..88158ce 100644
--- a/gdb/mi/mi-cmd-env.c
+++ b/gdb/mi/mi-cmd-env.c
@@ -261,8 +261,9 @@ mi_cmd_inferior_tty_show (const char *command, char **argv, int argc)
current_uiout->field_string ("inferior_tty_terminal", inferior_io_terminal);
}
+void _initialize_mi_cmd_env ();
void
-_initialize_mi_cmd_env (void)
+_initialize_mi_cmd_env ()
{
const char *env;
diff --git a/gdb/mi/mi-cmds.c b/gdb/mi/mi-cmds.c
index eadf612..ec6f281 100644
--- a/gdb/mi/mi-cmds.c
+++ b/gdb/mi/mi-cmds.c
@@ -295,8 +295,9 @@ build_table (struct mi_cmd *commands)
}
}
+void _initialize_mi_cmds ();
void
-_initialize_mi_cmds (void)
+_initialize_mi_cmds ()
{
build_table (mi_cmds);
memset (&stats, 0, sizeof (stats));
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index 556f446..2ac4c11 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -1335,8 +1335,9 @@ mi_interp_factory (const char *name)
return new mi_interp (name);
}
+void _initialize_mi_interp ();
void
-_initialize_mi_interp (void)
+_initialize_mi_interp ()
{
/* The various interpreter levels. */
interp_factory_register (INTERP_MI1, mi_interp_factory);
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 24daf3f..014feaf 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -2749,8 +2749,9 @@ mi_cmd_complete (const char *command, char **argv, int argc)
}
+void _initialize_mi_main ();
void
-_initialize_mi_main (void)
+_initialize_mi_main ()
{
struct cmd_list_element *c;