changeset 24573:28a4037d10ab

* sighandlers.h: Update deprecated symbol names.
author John W. Eaton <jwe@octave.org>
date Tue, 09 Jan 2018 17:40:10 -0500
parents 4711e4b649d5
children b7047fe47123
files libinterp/corefcn/sighandlers.h
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/sighandlers.h	Tue Jan 09 15:32:09 2018 -0500
+++ b/libinterp/corefcn/sighandlers.h	Tue Jan 09 17:40:10 2018 -0500
@@ -113,8 +113,14 @@
 OCTAVE_DEPRECATED (4.2, "use 'octave::set_signal_handler' instead")
 const auto install_signal_handlers = octave::install_signal_handlers;
 
-OCTAVE_DEPRECATED (4.2, "use 'octave::signal_handler' instead")
-const auto octave_signal_handler = octave::signal_handler;
+OCTAVE_DEPRECATED (4.2, "use 'octave::respond_to_pending_signals' instead")
+const auto octave_signal_handler = octave::respond_to_pending_signals;
+
+namespace octave
+{
+  OCTAVE_DEPRECATED (4.4, "use 'octave::respond_to_pending_signals' instead")
+  const auto signal_handler = respond_to_pending_signals;
+}
 
 OCTAVE_DEPRECATED (4.2, "use 'octave::interrupt_handler' instead")
 const auto octave_catch_interrupts = octave::catch_interrupts;