summaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/tcgetattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/tcgetattr.c')
-rw-r--r--sysdeps/unix/bsd/tcgetattr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/bsd/tcgetattr.c b/sysdeps/unix/bsd/tcgetattr.c
index 03e1d11b12..71d67c8212 100644
--- a/sysdeps/unix/bsd/tcgetattr.c
+++ b/sysdeps/unix/bsd/tcgetattr.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
@@ -30,9 +30,7 @@
/* Put the state of FD into *TERMIOS_P. */
int
-__tcgetattr (fd, termios_p)
- int fd;
- struct termios *termios_p;
+__tcgetattr (int fd, struct termios *termios_p)
{
return __ioctl (fd, TIOCGETA, termios_p);
}