aboutsummaryrefslogtreecommitdiff
path: root/coreutils/chown.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-05 09:18:54 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-05 09:18:54 +0000
commita60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch)
treef59bc665cfe3d2d32622450d80523e3c1265e501 /coreutils/chown.c
parentf6efccc0659a2e2978f2021153f34ce92257ad2b (diff)
downloadbusybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz
busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.bz2
busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'coreutils/chown.c')
-rw-r--r--coreutils/chown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/chown.c b/coreutils/chown.c
index c14c62db6..b3d974ae4 100644
--- a/coreutils/chown.c
+++ b/coreutils/chown.c
@@ -42,7 +42,7 @@ typedef int (*chown_fptr)(const char *, uid_t, gid_t);
42static struct bb_uidgid_t ugid = { -1, -1 }; 42static struct bb_uidgid_t ugid = { -1, -1 };
43 43
44static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf, 44static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf,
45 void *cf, int depth ATTRIBUTE_UNUSED) 45 void *cf, int depth UNUSED_PARAM)
46{ 46{
47 uid_t u = (ugid.uid == (uid_t)-1) ? statbuf->st_uid : ugid.uid; 47 uid_t u = (ugid.uid == (uid_t)-1) ? statbuf->st_uid : ugid.uid;
48 gid_t g = (ugid.gid == (gid_t)-1) ? statbuf->st_gid : ugid.gid; 48 gid_t g = (ugid.gid == (gid_t)-1) ? statbuf->st_gid : ugid.gid;
@@ -61,7 +61,7 @@ static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf,
61 return FALSE; 61 return FALSE;
62} 62}
63 63
64int chown_main(int argc ATTRIBUTE_UNUSED, char **argv) 64int chown_main(int argc UNUSED_PARAM, char **argv)
65{ 65{
66 int retval = EXIT_SUCCESS; 66 int retval = EXIT_SUCCESS;
67 int flags; 67 int flags;