* 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 2008-08-31 17:27:37 +00:00
parent e9a14b2409
commit 4507bd32af
2 changed files with 6 additions and 1 deletions

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.

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;