aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/gtty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/gtty.c')
-rw-r--r--sysdeps/unix/bsd/gtty.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/unix/bsd/gtty.c b/sysdeps/unix/bsd/gtty.c
index 005ec4e0de..8862c4cf4d 100644
--- a/sysdeps/unix/bsd/gtty.c
+++ b/sysdeps/unix/bsd/gtty.c
@@ -20,9 +20,7 @@
/* Fill in *PARAMS with terminal parameters associated with FD. */
int
-gtty (fd, params)
- int fd;
- struct sgttyb *params;
+gtty (int fd, struct sgttyb *params)
{
return ioctl (fd, TIOCGETP, (void *) params);
}