From: Jim Meyering Date: Tue, 31 Oct 1995 02:22:23 +0000 (+0000) Subject: (usage, next_line_num, main): Protoize. X-Git-Tag: FILEUTILS-3_12f~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de4de17bc5a6cd1a72704137f74a4d083ef02e5c;p=thirdparty%2Fcoreutils.git (usage, next_line_num, main): Protoize. --- diff --git a/src/cat.c b/src/cat.c index a4421ee8c5..77dec0e2e1 100644 --- a/src/cat.c +++ b/src/cat.c @@ -76,8 +76,7 @@ static int newlines2 = 0; static int exit_stat = 0; static void -usage (status) - int status; +usage (int status) { if (status != 0) fprintf (stderr, _("Try `%s --help' for more information.\n"), @@ -113,7 +112,7 @@ With no FILE, or when FILE is -, read standard input.\n\ /* Compute the next line number. */ static void -next_line_num () +next_line_num (void) { char *endp = line_num_end; do @@ -441,9 +440,7 @@ cat ( } void -main (argc, argv) - int argc; - char *argv[]; +main (int argc, char **argv) { /* Optimal size of i/o operations of output. */ int outsize;