aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/getpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/getpt.c')
-rw-r--r--sysdeps/unix/sysv/linux/getpt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/getpt.c b/sysdeps/unix/sysv/linux/getpt.c
index d4b5745ef7..0c2367caa8 100644
--- a/sysdeps/unix/sysv/linux/getpt.c
+++ b/sysdeps/unix/sysv/linux/getpt.c
@@ -35,8 +35,7 @@ int __bsd_getpt (void);
/* Open a master pseudo terminal and return its file descriptor. */
int
-__posix_openpt (oflag)
- int oflag;
+__posix_openpt (int oflag)
{
static int have_no_dev_ptmx;
int fd;