summaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/stty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/stty.c')
-rw-r--r--sysdeps/unix/bsd/stty.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/bsd/stty.c b/sysdeps/unix/bsd/stty.c
index 0f434e29a1..0ce8044533 100644
--- a/sysdeps/unix/bsd/stty.c
+++ b/sysdeps/unix/bsd/stty.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 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
@@ -20,9 +20,7 @@
/* Set the terminal parameters associated with FD to *PARAMS. */
int
-stty (fd, params)
- int fd;
- const struct sgttyb *params;
+stty (int fd, const struct sgttyb *params)
{
return ioctl (fd, TIOCSETP, (void *) params);
}