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.
This commit is contained in:
Andrew Cagney 2003-02-09 10:47:37 +00:00
parent ac8b6cc0b0
commit 11308a4187
4 changed files with 12 additions and 2 deletions

View 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> 2003-02-07 David Carlton <carlton@math.stanford.edu>
* gdb_mbuild.sh: Delete extra shift after parsing '-f'. * gdb_mbuild.sh: Delete extra shift after parsing '-f'.

View 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 common command hooks. Use it when removing your interpreter in its
suspend proc. */ suspend proc. */
void void
clear_interpreter_hooks () clear_interpreter_hooks (void)
{ {
init_ui_hook = 0; init_ui_hook = 0;
print_frame_info_listing_hook = 0; print_frame_info_listing_hook = 0;

View 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> 2003-02-06 Andrew Cagney <ac131313@redhat.com>
* mi-cmd-env.c: Include "gdb_stat.h" instead of <sys/stat.h>. * mi-cmd-env.c: Include "gdb_stat.h" instead of <sys/stat.h>.

View File

@ -285,7 +285,7 @@ mi_insert_notify_hooks (void)
} }
static void static void
mi_remove_notify_hooks () mi_remove_notify_hooks (void)
{ {
query_hook = NULL; query_hook = NULL;
} }