From: Rich Felker Date: Tue, 15 Feb 2011 22:33:52 +0000 (-0500) Subject: fix missing EXIT_* in stdlib.h after header cleanup X-Git-Tag: v0.6.0~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6d36c2098be0b431cad5c8f8327f1beb943028b0;p=oweals%2Fmusl.git fix missing EXIT_* in stdlib.h after header cleanup --- 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 #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 *);