diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-11-19 03:35:28 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-11-19 03:35:28 +0000 |
commit | 7e8cc4e9f085384c58adfef607bed4a9aae7ef31 (patch) | |
tree | d812af6ffe07b730540fadeb9762aa169e7d74e6 /usr.bin/xlint/lint1/main1.c | |
parent | 4e00bfe9e4fce563a74dcd487149539b6bc02ba9 (diff) |
knf. OK kjell, brad
Diffstat (limited to 'usr.bin/xlint/lint1/main1.c')
-rw-r--r-- | usr.bin/xlint/lint1/main1.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/usr.bin/xlint/lint1/main1.c b/usr.bin/xlint/lint1/main1.c index 1e00c57e7b7..458e2d22947 100644 --- a/usr.bin/xlint/lint1/main1.c +++ b/usr.bin/xlint/lint1/main1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main1.c,v 1.3 2002/02/16 21:27:59 millert Exp $ */ +/* $OpenBSD: main1.c,v 1.4 2005/11/19 03:35:27 cloder Exp $ */ /* $NetBSD: main1.c,v 1.3 1995/10/02 17:29:56 jpo Exp $ */ /* @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: main1.c,v 1.3 2002/02/16 21:27:59 millert Exp $"; +static char rcsid[] = "$OpenBSD: main1.c,v 1.4 2005/11/19 03:35:27 cloder Exp $"; #endif #include <stdio.h> @@ -108,9 +108,7 @@ int zflag = 1; static void usage(void); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { int c; @@ -169,14 +167,14 @@ main(argc, argv) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: lint1 [-abcdeghprstuvyzF] src dest\n"); exit(1); } void -norecover() +norecover(void) { /* cannot recover from previous errors */ error(224); |