aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-09 10:47:37 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-09 10:47:37 +0000
commit11308a418750be8c278a57f02f96971da49b08ef (patch)
tree2c895b171a17ca862401d571fcc13f2b46f5b5a4
parentac8b6cc0b03c3eb99f573195653a718437a10477 (diff)
downloadgdb-11308a418750be8c278a57f02f96971da49b08ef.zip
gdb-11308a418750be8c278a57f02f96971da49b08ef.tar.gz
gdb-11308a418750be8c278a57f02f96971da49b08ef.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/interps.c2
-rw-r--r--gdb/mi/ChangeLog5
-rw-r--r--gdb/mi/mi-interp.c2
4 files changed, 12 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f4ebd8f..36d016c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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'.
diff --git a/gdb/interps.c b/gdb/interps.c
index 551f416..8e33ffc 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -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;
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index 93b55d7..fdc6b4d 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -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>.
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index bf5873a..87ed17f 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -285,7 +285,7 @@ mi_insert_notify_hooks (void)
}
static void
-mi_remove_notify_hooks ()
+mi_remove_notify_hooks (void)
{
query_hook = NULL;
}