From 78273e9d2319c99edc0d0c16a6d7e3cefab58a0f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 24 Apr 1996 03:24:54 +0000 Subject: [PATCH] (main): Declare to return int, not void. --- src/yes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.34.1