From: Andrew Cagney Date: Sun, 9 Feb 2003 10:47:37 +0000 (+0000) Subject: 2003-02-09 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11308a418750be8c278a57f02f96971da49b08ef;p=binutils-gdb.git 2003-02-09 Andrew Cagney * interps.c (clear_interpreter_hooks): Convert function definition to ISO C. Index: mi/ChangeLog 2003-02-09 Andrew Cagney * mi-interp.c (mi_remove_notify_hooks): Convert function definition to ISO C. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f4ebd8f7c9b..36d016c2277 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-02-09 Andrew Cagney + + * interps.c (clear_interpreter_hooks): Convert function definition + to ISO C. + 2003-02-07 David Carlton * gdb_mbuild.sh: Delete extra shift after parsing '-f'. diff --git a/gdb/interps.c b/gdb/interps.c index 551f416bb0f..8e33ffc7055 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 93b55d7dd9b..fdc6b4d1418 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,8 @@ +2003-02-09 Andrew Cagney + + * mi-interp.c (mi_remove_notify_hooks): Convert function + definition to ISO C. + 2003-02-06 Andrew Cagney * mi-cmd-env.c: Include "gdb_stat.h" instead of . diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index bf5873a61df..87ed17f16c9 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; }