summaryrefslogtreecommitdiff
path: root/lib/libc/gen/isatty.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/gen/isatty.c
parente9c67dcf958b38635d2c444765b8d17227635cc5 (diff)
ansification; checked by pval
Diffstat (limited to 'lib/libc/gen/isatty.c')
-rw-r--r--lib/libc/gen/isatty.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/gen/isatty.c b/lib/libc/gen/isatty.c
index c764022ede9..305fe83b48d 100644
--- a/lib/libc/gen/isatty.c
+++ b/lib/libc/gen/isatty.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: isatty.c,v 1.4 2003/06/02 20:18:34 millert Exp $";
+static char rcsid[] = "$OpenBSD: isatty.c,v 1.5 2003/06/11 21:03:10 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <termios.h>
@@ -36,8 +36,7 @@ static char rcsid[] = "$OpenBSD: isatty.c,v 1.4 2003/06/02 20:18:34 millert Exp
#include "thread_private.h"
int
-isatty(fd)
- int fd;
+isatty(int fd)
{
int retval;
struct termios t;