summaryrefslogtreecommitdiff
path: root/lib/libc/termios/tcgetattr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 21:03:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 21:03:11 +0000
commit4dba6a5e639357ec5b17c397ad648b7c98e3ba12 (patch)
tree108501f056c58743e71328f45cbc63154295e75a /lib/libc/termios/tcgetattr.c
parente9c67dcf958b38635d2c444765b8d17227635cc5 (diff)
ansification; checked by pval
Diffstat (limited to 'lib/libc/termios/tcgetattr.c')
-rw-r--r--lib/libc/termios/tcgetattr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/termios/tcgetattr.c b/lib/libc/termios/tcgetattr.c
index 5a6815ee2e8..f3f627f6b61 100644
--- a/lib/libc/termios/tcgetattr.c
+++ b/lib/libc/termios/tcgetattr.c
@@ -28,16 +28,14 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: tcgetattr.c,v 1.3 2003/06/02 20:18:39 millert Exp $";
+static char rcsid[] = "$OpenBSD: tcgetattr.c,v 1.4 2003/06/11 21:03:09 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/ioctl.h>
#include <termios.h>
int
-tcgetattr(fd, t)
- int fd;
- struct termios *t;
+tcgetattr(int fd, struct termios *t)
{
return (ioctl(fd, TIOCGETA, t));
}