maint: remove now-redundant definitions provided by signal.h
authorJim Meyering <meyering@redhat.com>
Mon, 3 May 2010 08:50:23 +0000 (10:50 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 3 May 2010 10:26:20 +0000 (12:26 +0200)
* src/dd.c (SA_NODEFER, SA_RESETHAND): Remove definitions,
now that gnulib guarantees they are defined in <signal.h>.
* src/ls.c (SA_RESTART): Likewise.

src/dd.c
src/ls.c

index 3f54cc7..1d8cfe0 100644 (file)
--- a/src/dd.c
+++ b/src/dd.c
@@ -57,12 +57,6 @@ static void process_signals (void);
 #  define siginterrupt(sig, flag) /* empty */
 # endif
 #endif
-#ifndef SA_NODEFER
-# define SA_NODEFER 0
-#endif
-#ifndef SA_RESETHAND
-# define SA_RESETHAND 0
-#endif
 
 #ifndef SIGINFO
 # define SIGINFO SIGUSR1
index ca09ead..aa9fb6c 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -76,9 +76,6 @@
 #  define siginterrupt(sig, flag) /* empty */
 # endif
 #endif
-#ifndef SA_RESTART
-# define SA_RESTART 0
-#endif
 
 #include "system.h"
 #include <fnmatch.h>