summaryrefslogtreecommitdiff
path: root/bin/stty/stty.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 23:42:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 23:42:13 +0000
commitb7e43e8440a0d47510d40dd5d9440dccf52a05f2 (patch)
tree20886296c48f50f9e7f28003e17761fd8acd14e0 /bin/stty/stty.c
parenta760a3046bfab4c3721cea25480d9f998d1cf0e8 (diff)
ansification, art ok
Diffstat (limited to 'bin/stty/stty.c')
-rw-r--r--bin/stty/stty.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/bin/stty/stty.c b/bin/stty/stty.c
index 98970a68136..04be4dd104a 100644
--- a/bin/stty/stty.c
+++ b/bin/stty/stty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stty.c,v 1.10 2003/06/02 23:32:09 millert Exp $ */
+/* $OpenBSD: stty.c,v 1.11 2003/06/11 23:42:12 deraadt Exp $ */
/* $NetBSD: stty.c,v 1.11 1995/03/21 09:11:30 cgd Exp $ */
/*-
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)stty.c 8.3 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: stty.c,v 1.10 2003/06/02 23:32:09 millert Exp $";
+static char rcsid[] = "$OpenBSD: stty.c,v 1.11 2003/06/11 23:42:12 deraadt Exp $";
#endif
#endif /* not lint */
@@ -59,9 +59,7 @@ static char rcsid[] = "$OpenBSD: stty.c,v 1.10 2003/06/02 23:32:09 millert Exp $
#include "extern.h"
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
struct info i;
enum FMT fmt;
@@ -154,7 +152,7 @@ args: argc -= optind;
}
void
-usage()
+usage(void)
{
fprintf(stderr, "usage: %s [-a|-e|-g] [-f file] [operands]\n",
__progname);