diff options
author | Jim Meyering <jim@meyering.net> | 1996-04-24 03:23:54 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-04-24 03:23:54 +0000 |
commit | 2b5207bc5928b5108745b0949e965fd3124f473e (patch) | |
tree | bcd6f4a342609a1a16312402ecf3de6ddd3014ec /src | |
parent | deeb3e0c494b5be92e5323c6adcfd3b6477cd3a7 (diff) | |
download | coreutils-2b5207bc5928b5108745b0949e965fd3124f473e.tar.xz |
(main): Declare to return int, not void.
Diffstat (limited to 'src')
-rw-r--r-- | src/who-users.c | 2 | ||||
-rw-r--r-- | src/whoami.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; |