summaryrefslogtreecommitdiffstats
path: root/libc/unistd/sysconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/sysconf.c')
-rw-r--r--libc/unistd/sysconf.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c
index c80a9e94e..6f362819c 100644
--- a/libc/unistd/sysconf.c
+++ b/libc/unistd/sysconf.c
@@ -16,9 +16,6 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define getpagesize __getpagesize_internal
-#define getdtablesize __getdtablesize
-
#define _XOPEN_SOURCE 500
#include <features.h>
#include <errno.h>
@@ -36,6 +33,9 @@
#include <regex.h>
#endif
+libc_hidden_proto(getpagesize)
+libc_hidden_proto(getdtablesize)
+
#ifndef __UCLIBC_CLK_TCK_CONST
#error __UCLIBC_CLK_TCK_CONST not defined!
#endif
@@ -71,7 +71,7 @@
#endif /* _UCLIBC_GENERATE_SYSCONF_ARCH */
/* Get the value of the system variable NAME. */
-long int attribute_hidden __sysconf(int name)
+long int sysconf(int name)
{
switch (name)
{
@@ -883,4 +883,5 @@ long int attribute_hidden __sysconf(int name)
#endif
}
}
-strong_alias(__sysconf,sysconf)
+libc_hidden_proto(sysconf)
+libc_hidden_def(sysconf)