summaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-10-08 08:13:02 -0600
committerEric Blake <ebb9@byu.net>2009-10-08 20:30:03 -0600
commit2a876d901d8cccb3f633b65a93abaead81628a8f (patch)
tree123ab1690b47809770870636a009429b6e10d365 /src/timeout.c
parenta797c4d7d3496e730d3bb3b19703396d31a65fad (diff)
downloadcoreutils-2a876d901d8cccb3f633b65a93abaead81628a8f.tar.xz
maint: move timeout exit statuses
* src/timeout.c (EXIT_TIMEDOUT, EXIT_CANCELED): Remove as macros... * src/system.h (EXIT_TIMEDOUT, EXIT_CANCELED): ...and provide as enum values instead. * src/stdbuf.c (EXIT_CANCELED): Delete.
Diffstat (limited to 'src/timeout.c')
-rw-r--r--src/timeout.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 7069f2c1a..7b0f1d7c5 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -73,12 +73,6 @@
#define AUTHORS proper_name_utf8 ("Padraig Brady", "P\303\241draig Brady")
-/* Note ETIMEDOUT is 110 on GNU/Linux systems but this is non standard */
-#define EXIT_TIMEDOUT 124
-
-/* Internal failure. */
-#define EXIT_CANCELED 125
-
static int timed_out;
static int term_signal = SIGTERM; /* same default as kill command. */
static int monitored_pid;