diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
commit | fba45db2faf619e71856ee38ec63949c0ef6903e (patch) | |
tree | 107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/mi/mi-main.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/mi/mi-main.c')
-rw-r--r-- | gdb/mi/mi-main.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index b7b5ae3..12be2b7 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1412,7 +1412,7 @@ mi_load_progress (const char *section_name, } static void -mi_command_loop () +mi_command_loop (void) { /* HACK: Force stdout/stderr to point at the console. This avoids any potential side effects caused by legacy code that is still @@ -1468,7 +1468,7 @@ mi_command_loop () } static void -setup_architecture_data () +setup_architecture_data (void) { /* don't trust REGISTER_BYTES to be zero. */ old_regs = xmalloc (REGISTER_BYTES + 1); @@ -1476,15 +1476,14 @@ setup_architecture_data () } static void -mi_init_ui (arg0) - char *arg0; +mi_init_ui (char *arg0) { /* Eventually this will contain code that takes control of the console. */ } void -_initialize_mi_main () +_initialize_mi_main (void) { /* If we're _the_ interpreter, take control. */ if (interpreter_p |