From 20f40000864609866b51624351581d067b18469c Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 30 Jan 2006 17:17:14 +0000 Subject: - add some ATTRIBUTE_UNUSED. - use shorter boilerplate while at it. --- coreutils/chown.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'coreutils/chown.c') diff --git a/coreutils/chown.c b/coreutils/chown.c index 888c3fc89..660d08947 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c @@ -22,7 +22,8 @@ static gid_t gid = -1; static int (*chown_func)(const char *, uid_t, gid_t) = chown; -static int fileAction(const char *fileName, struct stat *statbuf, void* junk) +static int fileAction(const char *fileName, struct stat *statbuf, + void ATTRIBUTE_UNUSED *junk) { if (!chown_func(fileName, (uid == -1) ? statbuf->st_uid : uid, -- cgit v1.2.3