* libmisc/utmp.c: Mark the line and host arguments of setutmp() as
not used in the __linux__ version.
This commit is contained in:
parent
e9a14b2409
commit
4507bd32af
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user