From: Jim Meyering Date: Sun, 11 Nov 2001 15:40:39 +0000 (+0000) Subject: (main): Declare function pointer with prototype. X-Git-Tag: TEXTUTILS-2_0_17~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52f24baacc817c398b89c32c1ec7e3116ff70427;p=thirdparty%2Fcoreutils.git (main): Declare function pointer with prototype. --- diff --git a/src/sum.c b/src/sum.c index aa4c0a70b2..3e405bb51b 100644 --- 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, "");