From 2b5207bc5928b5108745b0949e965fd3124f473e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 24 Apr 1996 03:23:54 +0000 Subject: (main): Declare to return int, not void. --- src/who-users.c | 2 +- src/whoami.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/who-users.c b/src/who-users.c index b9172d042..f8b6659b6 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 d9f0706db..07ff8a08f 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; -- cgit v1.2.3-70-g09d2