]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): Declare to return int, not void.
authorJim Meyering <jim@meyering.net>
Wed, 24 Apr 1996 03:23:54 +0000 (03:23 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 24 Apr 1996 03:23:54 +0000 (03:23 +0000)
src/who-users.c
src/whoami.c

index b9172d0424627f3d9b45fa0f5812df7575019b25..f8b6659b6065422a2e48310080733e686e3fef50 100644 (file)
@@ -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;
index d9f0706db926a4d7652b1fc9e8ab0f5c07a19a22..07ff8a08fb13da7b5fb732c5dac55296c431fadd 100644 (file)
@@ -61,7 +61,7 @@ Same as id -un.\n\
   exit (status);
 }
 
-void
+int
 main (int argc, char **argv)
 {
   register struct passwd *pw;