From: nekral-guest Date: Sun, 31 Aug 2008 17:27:37 +0000 (+0000) Subject: * libmisc/utmp.c: Mark the line and host arguments of setutmp() as X-Git-Tag: 4.1.3~228 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4507bd32afe3d31acab8ecbbf1396d042a400483;p=shadow * libmisc/utmp.c: Mark the line and host arguments of setutmp() as not used in the __linux__ version. --- diff --git a/ChangeLog b/ChangeLog index 0c44e980..513aad97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-28 Nicolas François + + * libmisc/utmp.c: Mark the line and host arguments of setutmp() as + not used in the __linux__ version. + 2008-08-28 Nicolas François * lib/nscd.c: Avoid redefinition of _GNU_SOURCE. diff --git a/libmisc/utmp.c b/libmisc/utmp.c index 76214a98..c9169030 100644 --- a/libmisc/utmp.c +++ b/libmisc/utmp.c @@ -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;