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

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Sat Apr 11 18:37:59 UTC 2009


Author: nekral-guest
Date: 2009-04-11 18:37:59 +0000 (Sat, 11 Apr 2009)
New Revision: 2651

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/gpasswd.c
Log:
	* src/gpasswd.c: Fix the usage of the unused macro.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2009-04-11 18:37:08 UTC (rev 2650)
+++ upstream/trunk/ChangeLog	2009-04-11 18:37:59 UTC (rev 2651)
@@ -1,5 +1,9 @@
 2009-04-11  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* src/gpasswd.c: Fix the usage of the unused macro.
+
+2009-04-11  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A
 	shadow entry is now sufficient for agecheck. Remove the first
 	passwd entry parameter.

Modified: upstream/trunk/src/gpasswd.c
===================================================================
--- upstream/trunk/src/gpasswd.c	2009-04-11 18:37:08 UTC (rev 2650)
+++ upstream/trunk/src/gpasswd.c	2009-04-11 18:37:59 UTC (rev 2651)
@@ -111,16 +111,16 @@
 static void change_passwd (struct group *gr);
 #endif
 static void log_gpasswd_failure (const char *suffix);
-static void log_gpasswd_failure_system (void *unused(arg));
-static void log_gpasswd_failure_group (void *unused(arg));
+static void log_gpasswd_failure_system (unused void *arg);
+static void log_gpasswd_failure_group (unused void *arg);
 #ifdef SHADOWGRP
-static void log_gpasswd_failure_gshadow (void *unused(arg));
+static void log_gpasswd_failure_gshadow (unused void *arg);
 #endif
 static void log_gpasswd_success (const char *suffix);
-static void log_gpasswd_success_system (void *unused(arg));
-static void log_gpasswd_success_group (void *unused(arg));
+static void log_gpasswd_success_system (unused void *arg);
+static void log_gpasswd_success_group (unused void *arg);
 #ifdef SHADOWGRP
-static void log_gpasswd_success_gshadow (void *unused(arg));
+static void log_gpasswd_success_gshadow (unused void *arg);
 #endif
 
 /*
@@ -499,12 +499,12 @@
 	}
 }
 
-static void log_gpasswd_failure_system (void *unused(arg))
+static void log_gpasswd_failure_system (unused void *arg)
 {
 	log_gpasswd_failure ("");
 }
 
-static void log_gpasswd_failure_group (void *unused(arg))
+static void log_gpasswd_failure_group (unused void *arg)
 {
 	char buf[1024];
 	snprintf (buf, 1023, " in %s", gr_dbname ());
@@ -513,7 +513,7 @@
 }
 
 #ifdef SHADOWGRP
-static void log_gpasswd_failure_gshadow (void *unused(arg))
+static void log_gpasswd_failure_gshadow (unused void *arg)
 {
 	char buf[1024];
 	snprintf (buf, 1023, " in %s", sgr_dbname ());
@@ -633,12 +633,12 @@
 	}
 }
 
-static void log_gpasswd_success_system (void *unused(arg))
+static void log_gpasswd_success_system (unused void *arg)
 {
 	log_gpasswd_success ("");
 }
 
-static void log_gpasswd_success_group (void *unused(arg))
+static void log_gpasswd_success_group (unused void *arg)
 {
 	char buf[1024];
 	snprintf (buf, 1023, " in %s", gr_dbname ());
@@ -647,7 +647,7 @@
 }
 
 #ifdef SHADOWGRP
-static void log_gpasswd_success_gshadow (void *unused(arg))
+static void log_gpasswd_success_gshadow (unused void *arg)
 {
 	char buf[1024];
 	snprintf (buf, 1023, " in %s", sgr_dbname ());




More information about the Pkg-shadow-commits mailing list