[Pkg-shadow-commits] r1639 - in upstream/trunk: . src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Jan 5 13:51:43 UTC 2008


Author: nekral-guest
Date: 2008-01-05 13:51:43 +0000 (Sat, 05 Jan 2008)
New Revision: 1639

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/nologin.c
Log:
Make a proper prototype for the main() function declaration. (add void)


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-01-05 13:49:32 UTC (rev 1638)
+++ upstream/trunk/ChangeLog	2008-01-05 13:51:43 UTC (rev 1639)
@@ -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 at centraliens.net>
 

Modified: upstream/trunk/src/nologin.c
===================================================================
--- upstream/trunk/src/nologin.c	2008-01-05 13:49:32 UTC (rev 1638)
+++ upstream/trunk/src/nologin.c	2008-01-05 13:51:43 UTC (rev 1639)
@@ -30,7 +30,7 @@
 #include <unistd.h>
 #include "exitcodes.h"
 
-int main ()
+int main (void)
 {
 	const char *user, *tty;
 




More information about the Pkg-shadow-commits mailing list