summaryrefslogtreecommitdiff
path: root/src/yes.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-04-24 03:24:54 +0000
committerJim Meyering <jim@meyering.net>1996-04-24 03:24:54 +0000
commit78273e9d2319c99edc0d0c16a6d7e3cefab58a0f (patch)
tree3f8c33840ca837a22f8764ff76bb909947ab8d72 /src/yes.c
parent2b5207bc5928b5108745b0949e965fd3124f473e (diff)
downloadcoreutils-78273e9d2319c99edc0d0c16a6d7e3cefab58a0f.tar.xz
(main): Declare to return int, not void.
Diffstat (limited to 'src/yes.c')
-rw-r--r--src/yes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yes.c b/src/yes.c
index e0eee6aa9..cc7a4401c 100644
--- a/src/yes.c
+++ b/src/yes.c
@@ -45,7 +45,7 @@ Repeatedly output a line with all specified STRING(s), or `y'.\n\
exit (status);
}
-void
+int
main (int argc, char **argv)
{
program_name = argv[0];