diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-02-15 17:33:52 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-02-15 17:33:52 -0500 |
commit | 6d36c2098be0b431cad5c8f8327f1beb943028b0 (patch) | |
tree | 459643b47c6200b99e075b4c3c71f1a3439b5dff | |
parent | 1d729537873f70da83f2608e7529aad887cf13c1 (diff) | |
download | musl-6d36c2098be0b431cad5c8f8327f1beb943028b0.tar.gz musl-6d36c2098be0b431cad5c8f8327f1beb943028b0.tar.xz musl-6d36c2098be0b431cad5c8f8327f1beb943028b0.zip |
fix missing EXIT_* in stdlib.h after header cleanup
-rw-r--r-- | include/stdlib.h | 6 |
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 *); |