]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Make a proper prototype for the main() function declaration. (add void)
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 5 Jan 2008 13:51:43 +0000 (13:51 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 5 Jan 2008 13:51:43 +0000 (13:51 +0000)
ChangeLog
src/nologin.c

index 3efa3b0ab0abfe8bb08b4e3ea1a342032087e7c4..a81911fa820cc273801af82eb4c858bd0ac7cddf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,8 @@
        * src/chage.c: Define isnum() as static and add its prototype.
        * libmisc/xgetspnam.c: Add missing include "shadowio.h". (This was
        OK as long as prototypes.h included this file.)
+       * src/nologin.c: Make a proper prototype for the main() function
+       declaration. (add void)
 
 2008-01-01  Nicolas François  <nicolas.francois@centraliens.net>
 
index 3fa7edb401e9d7dfaa336dba6c97aaf6fa9306b4..3c8362629ba4bb8cd41848e969a625e70d7505ef 100644 (file)
@@ -30,7 +30,7 @@
 #include <unistd.h>
 #include "exitcodes.h"
 
-int main ()
+int main (void)
 {
        const char *user, *tty;