Added a scope-level around the contents of an #ifdef in

gdbtk_cleanup() so that the variable declarations in there
would not be illegal in a C compilation.
This commit is contained in:
Drew Moseley 1998-08-13 20:15:20 +00:00
parent 6b34ac5a5c
commit 1dd251f99d
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Thu Aug 13 15:09:59 1998 Drew Moseley <dmoseley@cygnus.com>
* gdbtk.c (gdbtk_cleanup): added a scope-level around the contents
of the #ifdef so that the variable declarations in there would not
be illegal in a C compilation.
Mon Jul 27 13:07:16 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdbtk_call_command): Removed because it is now

View file

@ -298,8 +298,10 @@ gdbtk_cleanup (dummy)
{
Tcl_Eval (gdbtk_interp, "gdbtk_cleanup");
#ifdef IDE
struct ide_event_handle *h = (struct ide_event_handle *) dummy;
ide_interface_deregister_all (h);
{
struct ide_event_handle *h = (struct ide_event_handle *) dummy;
ide_interface_deregister_all (h);
}
#endif
Tcl_Finalize ();
}