summaryrefslogtreecommitdiffstats
path: root/lib/argmatch.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-01-02 11:05:00 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 00:29:09 +0200
commit8817d43473b02eac28150c5c5048956e49d7b815 (patch)
tree9d51b7cdc88a2aecac416fb27f214087ed3c92fb /lib/argmatch.c
parent427f2c17087ca21f48435083b01e83203824a336 (diff)
downloadexternal_gettext-8817d43473b02eac28150c5c5048956e49d7b815.zip
external_gettext-8817d43473b02eac28150c5c5048956e49d7b815.tar.gz
external_gettext-8817d43473b02eac28150c5c5048956e49d7b815.tar.bz2
Split system.h into many small include files: binary-io.h exit.h liballoca.h
pathname.h stpcpy.h stpncpy.h strcase.h xgetcwd.h.
Diffstat (limited to 'lib/argmatch.c')
-rw-r--r--lib/argmatch.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/argmatch.c b/lib/argmatch.c
index da664ef..f6ff44f 100644
--- a/lib/argmatch.c
+++ b/lib/argmatch.c
@@ -21,7 +21,6 @@
#include "argmatch.h"
#include <stdio.h>
-#include <stdlib.h>
#ifdef STDC_HEADERS
# include <string.h>
#endif
@@ -36,14 +35,7 @@
#endif
#include "error.h"
-
-/* The following test is to work around the gross typo in
- systems like Sony NEWS-OS Release 4.0C, whereby EXIT_FAILURE
- is defined to 0, not 1. */
-#if !EXIT_FAILURE
-# undef EXIT_FAILURE
-# define EXIT_FAILURE 1
-#endif
+#include "exit.h"
/* Non failing version of argmatch call this function after failing. */
#ifndef ARGMATCH_DIE