2005-01-13 Michael Snyder <msnyder@redhat.com>

* corefile.c: Whitespace tweaks.
This commit is contained in:
Michael Snyder 2005-01-13 23:56:25 +00:00
parent 037174871a
commit de6854b507
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,6 @@
2005-01-13 Michael Snyder <msnyder@redhat.com> 2005-01-13 Michael Snyder <msnyder@redhat.com>
* corefile.c: Whitespace tweaks.
* completer.c: Whitespace tweaks. * completer.c: Whitespace tweaks.
* coff-solib.c: Whitespace tweaks. * coff-solib.c: Whitespace tweaks.
* coff-solib.h: Whitespace tweaks. * coff-solib.h: Whitespace tweaks.

View File

@ -82,8 +82,9 @@ core_file_command (char *filename, int from_tty)
} }
/* If there are two or more functions that wish to hook into exec_file_command, /* If there are two or more functions that wish to hook into
* this function will call all of the hook functions. */ exec_file_command, this function will call all of the hook
functions. */
static void static void
call_extra_exec_file_hooks (char *filename) call_extra_exec_file_hooks (char *filename)
@ -108,7 +109,7 @@ specify_exec_file_hook (void (*hook) (char *))
* and the subsequent hooks called. */ * and the subsequent hooks called. */
if (exec_file_hook_count == 0) if (exec_file_hook_count == 0)
{ {
/* If this is the first extra hook, initialize the hook array. */ /* If this is the first extra hook, initialize the hook array. */
exec_file_extra_hooks = (hook_type *) xmalloc (sizeof (hook_type)); exec_file_extra_hooks = (hook_type *) xmalloc (sizeof (hook_type));
exec_file_extra_hooks[0] = deprecated_exec_file_display_hook; exec_file_extra_hooks[0] = deprecated_exec_file_display_hook;
deprecated_exec_file_display_hook = call_extra_exec_file_hooks; deprecated_exec_file_display_hook = call_extra_exec_file_hooks;