Merge "Use hidden visibility for several internal-use-only functions."
This commit is contained in:
commit
85049ead25
1 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ static const Pair _sys_error_strings[] = {
|
||||||
{ 0, NULL }
|
{ 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);
|
return __code_string_lookup(_sys_error_strings, error_number);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ static const Pair _sys_signal_strings[] = {
|
||||||
{ 0, NULL }
|
{ 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);
|
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;
|
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);
|
const char* signal_name = __strsignal_lookup(signal_number);
|
||||||
if (signal_name != NULL) {
|
if (signal_name != NULL) {
|
||||||
return signal_name;
|
return signal_name;
|
||||||
|
|
Loading…
Reference in a new issue