summaryrefslogtreecommitdiff
path: root/libc/unistd/sysconf.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 00:58:03 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 00:58:03 +0000
commitaf0172162f7c653cad6a11ed1c1a5459bc154465 (patch)
tree70031dad1e7286d58762da7b9e3d3f93d043c278 /libc/unistd/sysconf.c
parentc8609543a9a8bf6559c2931dbbef6b3c41b3fbf2 (diff)
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
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)