aboutsummaryrefslogtreecommitdiffstats
path: root/src/atimer.c
diff options
context:
space:
mode:
authorDan Nicolaescu2010-03-22 12:51:59 -0700
committerDan Nicolaescu2010-03-22 12:51:59 -0700
commitdf7734b220de9c61575677adbc1f431ef6703d84 (patch)
tree473e250a995414540138dd17c4b4741b2b020e91 /src/atimer.c
parent64cb11ccee98233ad1c44496f4dd6fed8e64a155 (diff)
downloademacs-df7734b220de9c61575677adbc1f431ef6703d84.tar.gz
emacs-df7734b220de9c61575677adbc1f431ef6703d84.zip
Remove dead code dealing with POSIX_SIGNALS.
* atimer.c (set_alarm): Remove dead code, all USG systems define POSIX_SIGNALS. * data.c (arith_error): Likewise. * keyboard.c (input_available_signal, handle_user_signal) (interrupt_signal): Likewise. * process.c (sigchld_handler): Likewise. (create_process): Remove if 0 code. Remove HPUX conditional when !defined (POSIX_SIGNALS), it cannot be true. * syssignal.h: Remove USG5_4 and USG conditionals when !POSIX_SIGNALS, they cannot be true.
Diffstat (limited to 'src/atimer.c')
-rw-r--r--src/atimer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/atimer.c b/src/atimer.c
index 432e2590dad..556272d7918 100644
--- a/src/atimer.c
+++ b/src/atimer.c
@@ -296,12 +296,6 @@ unwind_stop_other_atimers (dummy)
296static void 296static void
297set_alarm () 297set_alarm ()
298{ 298{
299#if defined (USG) && !defined (POSIX_SIGNALS)
300 /* USG systems forget handlers when they are used;
301 must reestablish each time. */
302 signal (SIGALRM, alarm_signal_handler);
303#endif /* USG */
304
305 if (atimers) 299 if (atimers)
306 { 300 {
307 EMACS_TIME now, time; 301 EMACS_TIME now, time;