diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-23 14:00:21 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-23 14:13:12 -0600 |
commit | b4a7c699688bd88313893cbb59ee0df5b8cd009b (patch) | |
tree | b624af1b69dc4c593de99296a068fd3323efcffc | |
parent | 4102159923c90abd636d73e78777b98b1c680e53 (diff) | |
download | gdb-b4a7c699688bd88313893cbb59ee0df5b8cd009b.zip gdb-b4a7c699688bd88313893cbb59ee0df5b8cd009b.tar.gz gdb-b4a7c699688bd88313893cbb59ee0df5b8cd009b.tar.bz2 |
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 <tom@tromey.com>
* defs.h (make_cleanup_override_quit_handler): Don't declare.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/defs.h | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aa50dc9..910580d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-23 Tom Tromey <tom@tromey.com> + + * defs.h (make_cleanup_override_quit_handler): Don't declare. + 2017-09-22 Tom Tromey <tom@tromey.com> * utils.c (class scoped_input_handler) <m_quit_handler>: Change @@ -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: |