aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.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/data.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/data.c')
-rw-r--r--src/data.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/data.c b/src/data.c
index e405ca6af9e..bdba3a9bb36 100644
--- a/src/data.c
+++ b/src/data.c
@@ -3291,11 +3291,6 @@ SIGTYPE
3291arith_error (signo) 3291arith_error (signo)
3292 int signo; 3292 int signo;
3293{ 3293{
3294#if defined(USG) && !defined(POSIX_SIGNALS)
3295 /* USG systems forget handlers when they are used;
3296 must reestablish each time */
3297 signal (signo, arith_error);
3298#endif /* USG */
3299 sigsetmask (SIGEMPTYMASK); 3294 sigsetmask (SIGEMPTYMASK);
3300 3295
3301 SIGNAL_THREAD_CHECK (signo); 3296 SIGNAL_THREAD_CHECK (signo);