- add some ATTRIBUTE_UNUSED.

- use shorter boilerplate while at it.
This commit is contained in:
Bernhard Reutner-Fischer
2006-01-30 17:17:14 +00:00
parent 0e8727d93b
commit 20f4000086
13 changed files with 31 additions and 146 deletions

View File

@@ -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,