diff options
author | Jim Meyering <jim@meyering.net> | 1995-08-05 03:36:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-08-05 03:36:29 +0000 |
commit | cbc82e5cc38784e0d498e7ecbecf28b7b7873c50 (patch) | |
tree | fdf415eda00d3f8a9942ccebd7ae355c56f64427 | |
parent | b0aa8e6985d21bfdb9437fc6ddd473f92fae65fc (diff) | |
download | coreutils-cbc82e5cc38784e0d498e7ecbecf28b7b7873c50.tar.xz |
Protoize.
-rw-r--r-- | src/comm.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/comm.c b/src/comm.c index 94606ad00..d46d729ac 100644 --- a/src/comm.c +++ b/src/comm.c @@ -59,8 +59,7 @@ static struct option const long_options[] = static void -usage (status) - int status; +usage (int status) { if (status != 0) fprintf (stderr, "Try `%s --help' for more information.\n", @@ -90,10 +89,7 @@ Compare sorted files LEFT_FILE and RIGHT_FILE line by line.\n\ 2 for a line only in file 2, 3 for a line in both. */ static void -writeline (line, stream, class) - struct linebuffer *line; - FILE *stream; - int class; +writeline (struct linebuffer *line, FILE *stream, int class) { switch (class) { @@ -133,8 +129,7 @@ writeline (line, stream, class) Return 0 if successful, 1 if any errors occur. */ static int -compare_files (infiles) - char **infiles; +compare_files (char **infiles) { /* For each file, we have one linebuffer in lb1. */ struct linebuffer lb1[2]; @@ -218,9 +213,7 @@ compare_files (infiles) } void -main (argc, argv) - int argc; - char *argv[]; +main (int argc, char **argv) { int c; |