aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/dup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/dup.c')
-rw-r--r--sysdeps/posix/dup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/posix/dup.c b/sysdeps/posix/dup.c
index 02d7097b4c..27eff451bd 100644
--- a/sysdeps/posix/dup.c
+++ b/sysdeps/posix/dup.c
@@ -22,8 +22,7 @@
/* Duplicate FD, returning a new file descriptor open on the same file. */
int
-__dup (fd)
- int fd;
+__dup (int fd)
{
return fcntl (fd, F_DUPFD, 0);
}