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.
This commit is contained in:
Elliott Hughes 2012-09-24 08:52:15 -07:00 committed by Android Git Automerger
commit ecf67e152a

View File

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