diff options
author | Bernhard Reutner-Fischer | 2006-01-30 17:17:14 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-01-30 17:17:14 +0000 |
commit | 20f40000864609866b51624351581d067b18469c (patch) | |
tree | c47584ea54140cdd66f0833c8202875e8f4fe844 /coreutils/chown.c | |
parent | 0e8727d93b963d13c511d39199043c2c316031c2 (diff) | |
download | busybox-20f40000864609866b51624351581d067b18469c.zip busybox-20f40000864609866b51624351581d067b18469c.tar.gz |
- add some ATTRIBUTE_UNUSED.
- use shorter boilerplate while at it.
Diffstat (limited to 'coreutils/chown.c')
-rw-r--r-- | coreutils/chown.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/chown.c b/coreutils/chown.c index 888c3fc..660d089 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, |