diff options
Diffstat (limited to 'pig/pig.c')
-rw-r--r-- | pig/pig.c | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -1,4 +1,4 @@ -/* $NetBSD: pig.c,v 1.14 2009/08/12 08:22:24 dholland Exp $ */ +/* $NetBSD: pig.c,v 1.15 2012/06/19 05:46:09 dholland Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993\ #if 0 static char sccsid[] = "@(#)pig.c 8.2 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: pig.c,v 1.14 2009/08/12 08:22:24 dholland Exp $"); +__RCSID("$NetBSD: pig.c,v 1.15 2012/06/19 05:46:09 dholland Exp $"); #endif #endif /* not lint */ @@ -57,9 +57,7 @@ static void pigout(char *, int); static void usage(void) __dead; int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { int len; int ch; @@ -91,9 +89,7 @@ main(argc, argv) } static void -pigout(buf, len) - char *buf; - int len; +pigout(char *buf, int len) { int ch, start, i; int olen, allupper, firstupper; @@ -132,7 +128,7 @@ pigout(buf, len) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: pig\n"); exit(1); |