projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d72953
)
fix missing EXIT_* in stdlib.h after header cleanup
author
Rich Felker
<dalias@aerifal.cx>
Tue, 15 Feb 2011 22:33:52 +0000
(17:33 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 15 Feb 2011 22:33:52 +0000
(17:33 -0500)
include/stdlib.h
patch
|
blob
|
history
diff --git
a/include/stdlib.h
b/include/stdlib.h
index 045756bc92b7c76dfdf8d40fbd241ec078ea8e44..adacad8545d2a98415b56145a01c1d1d8f81be1b 100644
(file)
--- 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 *);