From 4507bd32afe3d31acab8ecbbf1396d042a400483 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sun, 31 Aug 2008 17:27:37 +0000 Subject: [PATCH] * libmisc/utmp.c: Mark the line and host arguments of setutmp() as not used in the __linux__ version. --- ChangeLog | 5 +++++ libmisc/utmp.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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;