diff options
author | Elliott Hughes <enh@google.com> | 2012-10-01 15:12:40 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-10-01 15:12:40 -0700 |
commit | 0cc0d250fd3097e4c26b70cdeb5c47caac634069 (patch) | |
tree | 96aafbb8f67296aab27a805de9a6fc3536fac910 /libc/include/stdlib.h | |
parent | fe712e6caedccbbba24bda8429cb0b8cc6057ff1 (diff) | |
download | android_bionic-0cc0d250fd3097e4c26b70cdeb5c47caac634069.tar.gz android_bionic-0cc0d250fd3097e4c26b70cdeb5c47caac634069.tar.bz2 android_bionic-0cc0d250fd3097e4c26b70cdeb5c47caac634069.zip |
Remove useless #defines and incorrect claims from header files.
The various __need_* macros were write-only.
Change-Id: Id3cca34188e0801fdf93a038b22f2817226ad9c2
Diffstat (limited to 'libc/include/stdlib.h')
-rw-r--r-- | libc/include/stdlib.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index 9c0e55688..e728cb674 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -30,12 +30,6 @@ #include <sys/cdefs.h> -/* wchar_t is required in stdlib.h according to POSIX. - * note that defining __need_wchar_t prevents stddef.h - * to define all other symbols it does normally */ -#define __need_wchar_t -#include <stddef.h> - #include <stddef.h> #include <string.h> #include <alloca.h> @@ -58,8 +52,8 @@ extern int unsetenv(const char *); extern int clearenv(void); extern char *mkdtemp(char *); -extern char *mktemp (char *); -extern int mkstemp (char *); +extern char *mktemp(char *); +extern int mkstemp(char *); extern long strtol(const char *, char **, int); extern long long strtoll(const char *, char **, int); |