diff options
-rw-r--r-- | gdb/ChangeLog-gdbtk | 6 | ||||
-rw-r--r-- | gdb/gdbtk.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gdb/ChangeLog-gdbtk b/gdb/ChangeLog-gdbtk index 42b7b0d..2b7e46a 100644 --- a/gdb/ChangeLog-gdbtk +++ b/gdb/ChangeLog-gdbtk @@ -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 diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index 01cf3dd..e8d31ad 100644 --- a/gdb/gdbtk.c +++ b/gdb/gdbtk.c @@ -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 (); } |