diff options
author | Jim Meyering <jim@meyering.net> | 1995-10-31 02:22:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-10-31 02:22:23 +0000 |
commit | de4de17bc5a6cd1a72704137f74a4d083ef02e5c (patch) | |
tree | 6daaf76b6e596a7a988e5bb34b1295ea19d4d949 /src | |
parent | b0302bb3a61f0a8cebe324fb7cc80b166bd0d249 (diff) | |
download | coreutils-de4de17bc5a6cd1a72704137f74a4d083ef02e5c.tar.xz |
(usage, next_line_num, main): Protoize.
Diffstat (limited to 'src')
-rw-r--r-- | src/cat.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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; |