Mercurial > octave
changeset 21988:3ff59d4f9411
eliminate unused function w32_raise_sigint
* sighandlers.cc (w32_raise_sigint): Delete unused function.
* sighandlers.h: Delete decl.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 28 Jun 2016 15:08:27 -0400 |
parents | f31f30a9348f |
children | 6bce4d23af6b |
files | libinterp/corefcn/sighandlers.cc libinterp/corefcn/sighandlers.h |
diffstat | 2 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/sighandlers.cc Tue Jun 28 13:46:03 2016 -0400 +++ b/libinterp/corefcn/sighandlers.cc Tue Jun 28 15:08:27 2016 -0400 @@ -215,11 +215,6 @@ w32_interrupt_manager* w32_interrupt_manager::instance = 0; -void w32_raise_sigint (void) -{ - w32_interrupt_manager::raise_sigint (); -} - #endif // Called from octave_quit () to actually do something about the signals
--- a/libinterp/corefcn/sighandlers.h Tue Jun 28 13:46:03 2016 -0400 +++ b/libinterp/corefcn/sighandlers.h Tue Jun 28 15:08:27 2016 -0400 @@ -75,10 +75,6 @@ octave_set_interrupt_handler (const volatile octave_interrupt_handler&, bool restart_syscalls = true); -#if defined (OCTAVE_USE_WINDOWS_API) -extern OCTINTERP_API void w32_raise_sigint (void); -#endif - // extern void ignore_sigchld (void); // Maybe this should be in a separate file?