From: Tom Tromey Date: Sat, 23 Sep 2017 20:00:21 +0000 (-0600) Subject: Removed unused declaration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4a7c699688bd88313893cbb59ee0df5b8cd009b;p=binutils-gdb.git Removed unused declaration An earlier patch of mine removed make_cleanup_override_quit_handler, but neglected to remove the declaration. This patch removes it. Tested by rebuilding. I'm committing this as obvious. ChangeLog 2017-09-23 Tom Tromey * defs.h (make_cleanup_override_quit_handler): Don't declare. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aa50dc9f5bb..910580df2d0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-23 Tom Tromey + + * defs.h (make_cleanup_override_quit_handler): Don't declare. + 2017-09-22 Tom Tromey * utils.c (class scoped_input_handler) : Change diff --git a/gdb/defs.h b/gdb/defs.h index af9e32e5323..077a8168052 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -155,12 +155,6 @@ extern void set_quit_flag (void); typedef void (quit_handler_ftype) (void); extern quit_handler_ftype *quit_handler; -/* Override the current quit handler. Sets NEW_QUIT_HANDLER as - current quit handler, and installs a cleanup that when run restores - the previous quit handler. */ -struct cleanup * - make_cleanup_override_quit_handler (quit_handler_ftype *new_quit_handler); - /* The default quit handler. Checks whether Ctrl-C was pressed, and if so: