* libmisc/utmp.c: Mark the line and host arguments of setutmp() as

not used in the __linux__ version.
This commit is contained in:
nekral-guest committed 2008-08-31 17:27:37 +00:00
1 parent e9a14b2409
commit 4507bd32af
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -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.
+1 -1
View 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;