aboutsummaryrefslogtreecommitdiff
path: root/bin/stty/stty.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-02-02 06:50:57 +0000
committerWarner Losh <imp@FreeBSD.org>2002-02-02 06:50:57 +0000
commit5134c3f7990c353d2442ddd8a9a1d30b80099e43 (patch)
tree01a827446e9ba4f34cf1e754fcac691f6c9eb1cf /bin/stty/stty.c
parent46251dde8f47db03ad83997efd5e8f8bd8938855 (diff)
downloadsrc-5134c3f7990c353d2442ddd8a9a1d30b80099e43.tar.gz
src-5134c3f7990c353d2442ddd8a9a1d30b80099e43.zip
Notes
Diffstat (limited to 'bin/stty/stty.c')
-rw-r--r--bin/stty/stty.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/stty/stty.c b/bin/stty/stty.c
index d794544cbf22..049667adcf1e 100644
--- a/bin/stty/stty.c
+++ b/bin/stty/stty.c
@@ -59,12 +59,8 @@ static const char rcsid[] =
#include "stty.h"
#include "extern.h"
-int main __P((int, char *[]));
-
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
struct info i;
enum FMT fmt;
@@ -160,7 +156,7 @@ args: argc -= optind;
}
void
-usage()
+usage(void)
{
(void)fprintf(stderr, "usage: stty [-a|-e|-g] [-f file] [options]\n");