This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Fix some k&r ism's
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 09 Feb 2003 11:48:20 +0100
- Subject: [ob] Fix some k&r ism's
Just FYI,
Andrew
2003-02-09 Andrew Cagney <ac131313@redhat.com>
* 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.
Index: interps.c
===================================================================
RCS file: /cvs/src/src/gdb/interps.c,v
retrieving revision 1.2
diff -u -r1.2 interps.c
--- interps.c 6 Feb 2003 05:30:17 -0000 1.2
+++ interps.c 9 Feb 2003 10:38:08 -0000
@@ -318,7 +318,7 @@
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: mi/mi-interp.c
===================================================================
RCS file: /cvs/src/src/gdb/mi/mi-interp.c,v
retrieving revision 1.2
diff -u -r1.2 mi-interp.c
--- mi/mi-interp.c 6 Feb 2003 05:30:17 -0000 1.2
+++ mi/mi-interp.c 9 Feb 2003 10:38:23 -0000
@@ -285,7 +285,7 @@
}
static void
-mi_remove_notify_hooks ()
+mi_remove_notify_hooks (void)
{
query_hook = NULL;
}