summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-05-03 10:50:23 +0200
committerJim Meyering <meyering@redhat.com>2010-05-03 12:26:20 +0200
commitc0e784b92338b26b28c0194b86ff59f23f37eb44 (patch)
tree27de0f09ef90105ce19751e7654d095a7079f421 /src
parenta9c542e416ffcd29dbe44845197442cc550e5370 (diff)
downloadcoreutils-c0e784b92338b26b28c0194b86ff59f23f37eb44.tar.xz
maint: remove now-redundant definitions provided by signal.h
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/dd.c6
-rw-r--r--src/ls.c3
2 files changed, 0 insertions, 9 deletions
diff --git a/src/dd.c b/src/dd.c
index 3f54cc7b5..1d8cfe07f 100644
--- 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
diff --git a/src/ls.c b/src/ls.c
index ca09ead8d..aa9fb6c1a 100644
--- 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>