about summary refs log tree commit diff
path: root/sysdeps/generic/fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/fcntl.c')
-rw-r--r--sysdeps/generic/fcntl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/generic/fcntl.c b/sysdeps/generic/fcntl.c
index aff3e84503..db6fbc399c 100644
--- a/sysdeps/generic/fcntl.c
+++ b/sysdeps/generic/fcntl.c
@@ -19,8 +19,6 @@
 #include <errno.h>
 #include <fcntl.h>
 
-#undef __fcntl
-
 /* Perform file control operations on FD.  */
 int
 __fcntl (fd, cmd)
@@ -36,6 +34,7 @@ __fcntl (fd, cmd)
   __set_errno (ENOSYS);
   return -1;
 }
+libc_hidden_def (__fcntl)
 stub_warning (fcntl)
 
 weak_alias (__fcntl, fcntl)