]> granicus.if.org Git - shadow/commitdiff
* libmisc/utmp.c: Mark the line and host arguments of setutmp() as
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 31 Aug 2008 17:27:37 +0000 (17:27 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 31 Aug 2008 17:27:37 +0000 (17:27 +0000)
not used in the __linux__ version.

ChangeLog
libmisc/utmp.c

index 0c44e980cfc1860c60b8c9c5fb89a7fc908b25bc..513aad97e46a6aa80e127acf0e04bff521fbf1f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-28  Nicolas François  <nicolas.francois@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@centraliens.net>
 
        * lib/nscd.c: Avoid redefinition of _GNU_SOURCE.
index 76214a981a7459868f786f452cc25da66ae45400..c9169030cebc4e8961b7b106f23129405afbb2b5 100644 (file)
@@ -280,7 +280,7 @@ static void updwtmpx (const char *filename, const struct utmpx *utx)
 
 #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;