From: Jim Meyering Date: Wed, 24 Apr 1996 03:23:54 +0000 (+0000) Subject: (main): Declare to return int, not void. X-Git-Tag: TEXTUTILS-1_14c~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b5207bc5928b5108745b0949e965fd3124f473e;p=thirdparty%2Fcoreutils.git (main): Declare to return int, not void. --- diff --git a/src/who-users.c b/src/who-users.c index b9172d0424..f8b6659b60 100644 --- a/src/who-users.c +++ b/src/who-users.c @@ -644,7 +644,7 @@ If FILE not given, uses /etc/utmp. /etc/wtmp as FILE is common.\n\ } #endif /* USERS || UPTIME */ -void +int main (int argc, char **argv) { int optc, longind; diff --git a/src/whoami.c b/src/whoami.c index d9f0706db9..07ff8a08fb 100644 --- a/src/whoami.c +++ b/src/whoami.c @@ -61,7 +61,7 @@ Same as id -un.\n\ exit (status); } -void +int main (int argc, char **argv) { register struct passwd *pw;