summaryrefslogtreecommitdiff
path: root/src/sum.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-11 15:40:39 +0000
committerJim Meyering <jim@meyering.net>2001-11-11 15:40:39 +0000
commit52f24baacc817c398b89c32c1ec7e3116ff70427 (patch)
tree5157d536a0b9863cbedf95d721c606d3b5926c8a /src/sum.c
parent6b16d2e1fea60024cbb6e4313b50b762e1899366 (diff)
downloadcoreutils-52f24baacc817c398b89c32c1ec7e3116ff70427.tar.xz
(main): Declare function pointer with prototype.
Diffstat (limited to 'src/sum.c')
-rw-r--r--src/sum.c2
1 files changed, 1 insertions, 1 deletions
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, "");