summaryrefslogtreecommitdiff
path: root/sysdeps/posix/dup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/dup.c')
-rw-r--r--sysdeps/posix/dup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/posix/dup.c b/sysdeps/posix/dup.c
index 9525e76749..be6ec4b2bf 100644
--- a/sysdeps/posix/dup.c
+++ b/sysdeps/posix/dup.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@
int
__dup (int fd)
{
- return fcntl (fd, F_DUPFD, 0);
+ return __fcntl (fd, F_DUPFD, 0);
}
-
+libc_hidden_def (__dup)
weak_alias (__dup, dup)