diff options
| -rw-r--r-- | bionic-fixup/AndroidFixup.h | 4 | ||||
| -rw-r--r-- | bionic-fixup/argp.h | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/bionic-fixup/AndroidFixup.h b/bionic-fixup/AndroidFixup.h index 6e2f26f3..83d29527 100644 --- a/bionic-fixup/AndroidFixup.h +++ b/bionic-fixup/AndroidFixup.h @@ -17,10 +17,6 @@ #ifndef ANDROID_FIXUP_H #define ANDROID_FIXUP_H -/* These two don't seem like things we want in bionic, but elfutils uses every crazy thing. */ -#define strdupa(s) strcpy(alloca(strlen(s) + 1), s) -#define strndupa(s, n) strncpy(alloca(strnlen(s, n) + 1), s, n) - static inline void *rawmemchr(const void *s, int c) { const unsigned char *ptr = s; diff --git a/bionic-fixup/argp.h b/bionic-fixup/argp.h index 784a040b..fe53b6d5 100644 --- a/bionic-fixup/argp.h +++ b/bionic-fixup/argp.h @@ -20,10 +20,6 @@ // We don't have an implementation, but elfutils unconditionally includes this, // and relies on its transitive includes in places. -#include <ctype.h> #include <errno.h> -#include <getopt.h> -#include <limits.h> -#include <stdio.h> #endif /* ELFUTILS_ARGP_H */ |
