summaryrefslogtreecommitdiff
path: root/usr.bin/tty
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-10 22:20:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-10 22:20:55 +0000
commitb8aaa8bec8414f8e55cf9b61fe0873d242c773b8 (patch)
tree5e43016c4fae834239fd38972fd58355ed6b54b5 /usr.bin/tty
parentf18f6607440f6d2da08fac3522d88a65c77a5f3e (diff)
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/tty')
-rw-r--r--usr.bin/tty/tty.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/tty/tty.c b/usr.bin/tty/tty.c
index 1bda56010ed..aa90ea9186b 100644
--- a/usr.bin/tty/tty.c
+++ b/usr.bin/tty/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.4 2003/06/03 02:56:20 millert Exp $ */
+/* $OpenBSD: tty.c,v 1.5 2003/06/10 22:20:53 deraadt Exp $ */
/* $NetBSD: tty.c,v 1.4 1994/12/07 00:46:57 jtc Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)tty.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: tty.c,v 1.4 2003/06/03 02:56:20 millert Exp $";
+static char rcsid[] = "$OpenBSD: tty.c,v 1.5 2003/06/10 22:20:53 deraadt Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -50,9 +50,7 @@ static char rcsid[] = "$OpenBSD: tty.c,v 1.4 2003/06/03 02:56:20 millert Exp $";
static void usage(void);
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char *argv[])
{
int ch, sflag;
char *t;
@@ -78,7 +76,7 @@ main(argc, argv)
static void
-usage ()
+usage(void)
{
fprintf(stderr, "usage: tty [-s]\n");
exit(2);