From a8f396655b8cca3518ac20d07246d91eb138ce07 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Tue, 6 Jul 2010 08:30:00 -0700 Subject: Revert "don't make __errno_location / __h_errno_location hidden" This reverts commit 0d6ee549bc86fd330672a79d9a87d2c3825eea67. We need to find a solution that will work in shared and static libraries Signed-off-by: Austin Foxley --- libc/sysdeps/linux/common/bits/errno.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/common/bits/errno.h') diff --git a/libc/sysdeps/linux/common/bits/errno.h b/libc/sysdeps/linux/common/bits/errno.h index de9688ac1..0bf6354fb 100644 --- a/libc/sysdeps/linux/common/bits/errno.h +++ b/libc/sysdeps/linux/common/bits/errno.h @@ -43,6 +43,7 @@ # ifndef __ASSEMBLER__ /* Function to get address of global `errno' variable. */ extern int *__errno_location (void) __THROW __attribute__ ((__const__)); +libc_hidden_proto(__errno_location) # ifdef __UCLIBC_HAS_THREADS__ /* When using threads, errno is a per-thread value. */ -- cgit v1.2.3