aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2014-09-01 16:46:20 +0530
committerAmit Pundir <amit.pundir@linaro.org>2014-09-11 13:51:29 +0530
commit0d82a826a06972c348c08167beea998c06f6d032 (patch)
tree00cf7af95d6d82d42c3617945ad8911ff905cc28
parentc71483c0b38a6b4f2675f0bffa221dcf175c34ac (diff)
downloadbionic-linaro-armv8-14.09.tar.gz
Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."linaro-armv8-14.09
This reverts commit dd4ad5c463c9bd479e8acf81227708717aafe204. Mali binary blobs for Juno still rely on these exported variables so keep them in bionic libraries till the Mali binary blobs are fixed. Change-Id: Ia24b67465b1be6fa9d33c8aa69283416fef57b72 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--libc/include/ctype.h2
-rw-r--r--libc/upstream-openbsd/android/include/openbsd-compat.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/libc/include/ctype.h b/libc/include/ctype.h
index d05a95297..6770e25cb 100644
--- a/libc/include/ctype.h
+++ b/libc/include/ctype.h
@@ -57,6 +57,8 @@
__BEGIN_DECLS
extern const char *_ctype_;
+extern const short *_tolower_tab_;
+extern const short *_toupper_tab_;
#if defined(__GNUC__) || defined(_ANSI_LIBRARY) || defined(lint)
int isalnum(int);
diff --git a/libc/upstream-openbsd/android/include/openbsd-compat.h b/libc/upstream-openbsd/android/include/openbsd-compat.h
index 630094d99..6894aa7a7 100644
--- a/libc/upstream-openbsd/android/include/openbsd-compat.h
+++ b/libc/upstream-openbsd/android/include/openbsd-compat.h
@@ -55,10 +55,6 @@
/* We have OpenBSD's getentropy_linux.c, but we don't mention getentropy in any header. */
__LIBC_HIDDEN__ extern int getentropy(void*, size_t);
-/* LP32 NDK ctype.h contained references to these. */
-__LIBC64_HIDDEN__ extern const short* _tolower_tab_;
-__LIBC64_HIDDEN__ extern const short* _toupper_tab_;
-
__LIBC_HIDDEN__ extern struct atexit* __atexit;
__LIBC_HIDDEN__ extern const char _C_ctype_[];
__LIBC_HIDDEN__ extern const short _C_toupper_[];