summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-15 17:33:52 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-15 17:33:52 -0500
commit6d36c2098be0b431cad5c8f8327f1beb943028b0 (patch)
tree459643b47c6200b99e075b4c3c71f1a3439b5dff /include/stdlib.h
parent1d729537873f70da83f2608e7529aad887cf13c1 (diff)
downloadmusl-6d36c2098be0b431cad5c8f8327f1beb943028b0.tar.gz
musl-6d36c2098be0b431cad5c8f8327f1beb943028b0.tar.bz2
musl-6d36c2098be0b431cad5c8f8327f1beb943028b0.tar.xz
musl-6d36c2098be0b431cad5c8f8327f1beb943028b0.zip
fix missing EXIT_* in stdlib.h after header cleanup
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 045756bc..adacad85 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -69,6 +69,9 @@ int wctomb (char *, wchar_t);
size_t mbstowcs (wchar_t *, const char *, size_t);
size_t wcstombs (char *, const wchar_t *, size_t);
+#define EXIT_FAILURE 1
+#define EXIT_SUCCESS 0
+
#define MB_CUR_MAX 4
#define RAND_MAX (0x7fffffff)
@@ -81,9 +84,6 @@ size_t wcstombs (char *, const wchar_t *, size_t);
#include <bits/wexitstatus.h>
#endif
-#define EXIT_FAILURE 1
-#define EXIT_SUCCESS 0
-
int posix_memalign (void **, size_t, size_t);
int setenv (const char *, const char *, int);
int unsetenv (const char *);