diff options
author | Dan Albert <danalbert@google.com> | 2014-06-18 11:44:00 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-06-18 13:11:07 -0700 |
commit | dd4ad5c463c9bd479e8acf81227708717aafe204 (patch) | |
tree | f2eff2f1e37a6d7adc550679453008d28aff333d /libc/upstream-openbsd | |
parent | ef82c28db63c6f333edb7e9d7e7ad1baa656343c (diff) | |
download | bionic-dd4ad5c463c9bd479e8acf81227708717aafe204.zip bionic-dd4ad5c463c9bd479e8acf81227708717aafe204.tar.gz bionic-dd4ad5c463c9bd479e8acf81227708717aafe204.tar.bz2 |
Hide _tolower_tab_ and _toupper_tab_ on LP64.
We can't hide them on LP32 because they appeared in NDK headers.
Bug: 11156955
Change-Id: I22bf5a0f4d330c04b49565bc598cd0568128d4fc
Diffstat (limited to 'libc/upstream-openbsd')
-rw-r--r-- | libc/upstream-openbsd/android/include/openbsd-compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/upstream-openbsd/android/include/openbsd-compat.h b/libc/upstream-openbsd/android/include/openbsd-compat.h index 8618e31..f00d91a 100644 --- a/libc/upstream-openbsd/android/include/openbsd-compat.h +++ b/libc/upstream-openbsd/android/include/openbsd-compat.h @@ -17,6 +17,8 @@ #ifndef _BIONIC_OPENBSD_COMPAT_H_included #define _BIONIC_OPENBSD_COMPAT_H_included +#include <sys/cdefs.h> + #define __USE_BSD /* OpenBSD's <ctype.h> uses these names, which conflicted with stlport. @@ -34,4 +36,8 @@ /* OpenBSD has this, but we can't really implement it correctly on Linux. */ #define issetugid() 0 +/* LP32 NDK ctype.h contained references to these. */ +__LIBC64_HIDDEN__ extern const short *_tolower_tab_; +__LIBC64_HIDDEN__ extern const short *_toupper_tab_; + #endif |