(main): Declare function pointer with prototype.
authorJim Meyering <jim@meyering.net>
Sun, 11 Nov 2001 15:40:39 +0000 (15:40 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 11 Nov 2001 15:40:39 +0000 (15:40 +0000)
src/sum.c

index aa4c0a70b2c30ef26cea0076d60ce9666fdeb90f..3e405bb51b356b22cb5334dbafc0a3068bab8892 100644 (file)
--- a/src/sum.c
+++ b/src/sum.c
@@ -216,7 +216,7 @@ main (int argc, char **argv)
   int errors = 0;
   int optc;
   int files_given;
-  int (*sum_func) () = bsd_sum_file;
+  int (*sum_func) PARAMS ((const char *, int)) = bsd_sum_file;
 
   program_name = argv[0];
   setlocale (LC_ALL, "");