summaryrefslogtreecommitdiff
path: root/src/sum.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-21 22:41:04 +0000
committerJim Meyering <jim@meyering.net>1996-03-21 22:41:04 +0000
commitadb7c216b2f18c8b24881ff66cb916e37bc9ea41 (patch)
treebe44dc8f3c2d5dd9f8616864b990d784f17c021d /src/sum.c
parent92d78458e06f471854fd448dce0fb0e1bfc14173 (diff)
downloadcoreutils-adb7c216b2f18c8b24881ff66cb916e37bc9ea41.tar.gz
coreutils-adb7c216b2f18c8b24881ff66cb916e37bc9ea41.tar.bz2
coreutils-adb7c216b2f18c8b24881ff66cb916e37bc9ea41.zip
(main): Declare to be of type int, not void.
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 bf04e6233..7995d6590 100644
--- a/src/sum.c
+++ b/src/sum.c
@@ -197,7 +197,7 @@ sysv_sum_file (const char *file, int print_name)
return 0;
}
-void
+int
main (int argc, char **argv)
{
int errors = 0;