[Pkg-shadow-commits] r2312 - in upstream/trunk: . libmisc

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sun Aug 31 17:27:38 UTC 2008


Author: nekral-guest
Date: 2008-08-31 17:27:37 +0000 (Sun, 31 Aug 2008)
New Revision: 2312

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/utmp.c
Log:
	* libmisc/utmp.c: Mark the line and host arguments of setutmp() as
	not used in the __linux__ version.

Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-08-31 17:27:26 UTC (rev 2311)
+++ upstream/trunk/ChangeLog	2008-08-31 17:27:37 UTC (rev 2312)
@@ -1,5 +1,10 @@
 2008-08-28  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* libmisc/utmp.c: Mark the line and host arguments of setutmp() as
+	not used in the __linux__ version.
+
+2008-08-28  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* lib/nscd.c: Avoid redefinition of _GNU_SOURCE.
 
 2008-08-28  Nicolas François  <nicolas.francois at centraliens.net>

Modified: upstream/trunk/libmisc/utmp.c
===================================================================
--- upstream/trunk/libmisc/utmp.c	2008-08-31 17:27:26 UTC (rev 2311)
+++ upstream/trunk/libmisc/utmp.c	2008-08-31 17:27:37 UTC (rev 2312)
@@ -280,7 +280,7 @@
 
 #if defined(__linux__)		/* XXX */
 
-int setutmp (const char *name, const char *line, const char *host)
+int setutmp (const char *name, const char unused(*line), const char unused(*host))
 {
 	int err = 0;
 	utent.ut_type = USER_PROCESS;




More information about the Pkg-shadow-commits mailing list