summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdtablesize.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getdtablesize.c')
-rw-r--r--libc/sysdeps/linux/common/getdtablesize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/getdtablesize.c b/libc/sysdeps/linux/common/getdtablesize.c
index 8cbcebdce..de3af63d7 100644
--- a/libc/sysdeps/linux/common/getdtablesize.c
+++ b/libc/sysdeps/linux/common/getdtablesize.c
@@ -27,7 +27,7 @@
/* Return the maximum number of file descriptors
the current process could possibly have. */
-int getdtablesize (void)
+int attribute_hidden __getdtablesize (void)
{
struct rlimit ru;
@@ -36,4 +36,4 @@ int getdtablesize (void)
returns -1. */
return getrlimit (RLIMIT_NOFILE, &ru) < 0 ? __LOCAL_OPEN_MAX : ru.rlim_cur;
}
-
+strong_alias(__getdtablesize,getdtablesize)