]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(usage, next_line_num, main): Protoize.
authorJim Meyering <jim@meyering.net>
Tue, 31 Oct 1995 02:22:23 +0000 (02:22 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 31 Oct 1995 02:22:23 +0000 (02:22 +0000)
src/cat.c

index a4421ee8c5dda00967f4e6f579a1e19133fdc8e8..77dec0e2e104ca02bb934dc9a62ac5f161c3cd32 100644 (file)
--- 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;