diff options
author | Elliott Hughes <enh@google.com> | 2012-09-24 08:52:15 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-09-24 08:52:15 -0700 |
commit | ecf67e152aecb67bff950d72582ef54b56191096 (patch) | |
tree | b8af5b4cc52763f738afc5d3665696968e96d4a5 | |
parent | d2eea0e6d6d4e7c406b06d90316713482d650290 (diff) | |
parent | 2d51dddf1a649c73f207ecf48d419fea8a8ed4de (diff) | |
download | bionic-ecf67e152aecb67bff950d72582ef54b56191096.zip bionic-ecf67e152aecb67bff950d72582ef54b56191096.tar.gz bionic-ecf67e152aecb67bff950d72582ef54b56191096.tar.bz2 |
am 2d51dddf: am 85049ead: Merge "Use hidden visibility for several internal-use-only functions."
* commit '2d51dddf1a649c73f207ecf48d419fea8a8ed4de':
Use hidden visibility for several internal-use-only functions.
-rw-r--r-- | libc/bionic/strerror_r.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/bionic/strerror_r.cpp b/libc/bionic/strerror_r.cpp index a00ebe5..e6a3975 100644 --- a/libc/bionic/strerror_r.cpp +++ b/libc/bionic/strerror_r.cpp @@ -27,7 +27,7 @@ static const Pair _sys_error_strings[] = { { 0, NULL } }; -extern "C" const char* __strerror_lookup(int error_number) { +extern "C" __LIBC_HIDDEN__ const char* __strerror_lookup(int error_number) { return __code_string_lookup(_sys_error_strings, error_number); } @@ -37,7 +37,7 @@ static const Pair _sys_signal_strings[] = { { 0, NULL } }; -extern "C" const char* __strsignal_lookup(int signal_number) { +extern "C" __LIBC_HIDDEN__ const char* __strsignal_lookup(int signal_number) { return __code_string_lookup(_sys_signal_strings, signal_number); } @@ -60,7 +60,7 @@ int strerror_r(int error_number, char* buf, size_t buf_len) { return 0; } -extern "C" const char* __strsignal(int signal_number, char* buf, size_t buf_len) { +extern "C" __LIBC_HIDDEN__ const char* __strsignal(int signal_number, char* buf, size_t buf_len) { const char* signal_name = __strsignal_lookup(signal_number); if (signal_name != NULL) { return signal_name; |