2003-02-09 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 9 Feb 2003 10:47:37 +0000 (10:47 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 9 Feb 2003 10:47:37 +0000 (10:47 +0000)
* interps.c (clear_interpreter_hooks): Convert function definition
to ISO C.

Index: mi/ChangeLog
2003-02-09  Andrew Cagney  <ac131313@redhat.com>

* mi-interp.c (mi_remove_notify_hooks): Convert function
definition to ISO C.

gdb/ChangeLog
gdb/interps.c
gdb/mi/ChangeLog
gdb/mi/mi-interp.c

index f4ebd8f..36d016c 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-09  Andrew Cagney  <ac131313@redhat.com>
+
+       * interps.c (clear_interpreter_hooks): Convert function definition
+       to ISO C.
+
 2003-02-07  David Carlton  <carlton@math.stanford.edu>
 
        * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
index 551f416..8e33ffc 100644 (file)
@@ -318,7 +318,7 @@ interp_exec (struct interp *interp, const char *command_str)
    common command hooks.  Use it when removing your interpreter in its 
    suspend proc. */
 void
-clear_interpreter_hooks ()
+clear_interpreter_hooks (void)
 {
   init_ui_hook = 0;
   print_frame_info_listing_hook = 0;
index 93b55d7..fdc6b4d 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-09  Andrew Cagney  <ac131313@redhat.com>
+
+       * mi-interp.c (mi_remove_notify_hooks): Convert function
+       definition to ISO C.
+
 2003-02-06  Andrew Cagney  <ac131313@redhat.com>
 
        * mi-cmd-env.c: Include "gdb_stat.h" instead of <sys/stat.h>.
index bf5873a..87ed17f 100644 (file)
@@ -285,7 +285,7 @@ mi_insert_notify_hooks (void)
 }
 
 static void
-mi_remove_notify_hooks ()
+mi_remove_notify_hooks (void)
 {
   query_hook = NULL;
 }