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

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Jan 5 17:23:47 UTC 2008


Author: nekral-guest
Date: 2008-01-05 17:23:46 +0000 (Sat, 05 Jan 2008)
New Revision: 1655

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/useradd.c
Log:
Fix find_new_gid() prototype. Add a void parameter.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-01-05 17:22:38 UTC (rev 1654)
+++ upstream/trunk/ChangeLog	2008-01-05 17:23:46 UTC (rev 1655)
@@ -1,5 +1,10 @@
 2008-01-05  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* src/useradd.c: Fix find_new_gid() prototype. Add a void
+	parameter.
+
+2008-01-05  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* lib/prototypes.h: Add the dolastlog() prototype.
 	* lib/prototypes.h: Typo: login.c -> loginprompt.c
 	* src/login.c: Remove declaration of dolastlog().

Modified: upstream/trunk/src/useradd.c
===================================================================
--- upstream/trunk/src/useradd.c	2008-01-05 17:22:38 UTC (rev 1654)
+++ upstream/trunk/src/useradd.c	2008-01-05 17:23:46 UTC (rev 1655)
@@ -871,7 +871,7 @@
  *	find_new_gid() locates the next highest unused GID in the group
  *	file
  */
-static void find_new_gid ()
+static void find_new_gid (void)
 {
 	const struct group *grp;
 	gid_t gid_min, gid_max;




More information about the Pkg-shadow-commits mailing list