From 52f24baacc817c398b89c32c1ec7e3116ff70427 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 11 Nov 2001 15:40:39 +0000 Subject: [PATCH] (main): Declare function pointer with prototype. --- src/sum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sum.c b/src/sum.c index aa4c0a70b..3e405bb51 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, ""); -- 2.34.1