diff options
Diffstat (limited to 'sysdeps/unix/bsd/gtty.c')
-rw-r--r-- | sysdeps/unix/bsd/gtty.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/bsd/gtty.c b/sysdeps/unix/bsd/gtty.c index 005ec4e0de..60a2063675 100644 --- a/sysdeps/unix/bsd/gtty.c +++ b/sysdeps/unix/bsd/gtty.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 @@ /* 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); } |