Remove useless #defines and incorrect claims from header files.

The various __need_* macros were write-only.

Change-Id: Id3cca34188e0801fdf93a038b22f2817226ad9c2
This commit is contained in:
Elliott Hughes
2012-10-01 15:12:40 -07:00
parent fe712e6cae
commit 0cc0d250fd
4 changed files with 7 additions and 28 deletions

View File

@@ -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);