diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 09:18:54 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 09:18:54 +0000 |
commit | a60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch) | |
tree | f59bc665cfe3d2d32622450d80523e3c1265e501 /e2fsprogs | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) | |
download | busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.bz2 busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip |
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/chattr.c | 2 | ||||
-rw-r--r-- | e2fsprogs/fsck.c | 4 | ||||
-rw-r--r-- | e2fsprogs/lsattr.c | 4 | ||||
-rw-r--r-- | e2fsprogs/old_e2fsprogs/ext2fs/getsize.c | 2 | ||||
-rw-r--r-- | e2fsprogs/old_e2fsprogs/uuid/uuid.h | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c index e783d3e89..b41919be2 100644 --- a/e2fsprogs/chattr.c +++ b/e2fsprogs/chattr.c | |||
@@ -125,7 +125,7 @@ static void change_attributes(const char *name, struct globals *gp) | |||
125 | } | 125 | } |
126 | 126 | ||
127 | int chattr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 127 | int chattr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
128 | int chattr_main(int argc ATTRIBUTE_UNUSED, char **argv) | 128 | int chattr_main(int argc UNUSED_PARAM, char **argv) |
129 | { | 129 | { |
130 | struct globals g; | 130 | struct globals g; |
131 | char *arg; | 131 | char *arg; |
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 0707d295d..c17693699 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c | |||
@@ -1122,13 +1122,13 @@ static void parse_args(char **argv) | |||
1122 | max_running = xatoi(tmp); | 1122 | max_running = xatoi(tmp); |
1123 | } | 1123 | } |
1124 | 1124 | ||
1125 | static void signal_cancel(int sig ATTRIBUTE_UNUSED) | 1125 | static void signal_cancel(int sig UNUSED_PARAM) |
1126 | { | 1126 | { |
1127 | cancel_requested = 1; | 1127 | cancel_requested = 1; |
1128 | } | 1128 | } |
1129 | 1129 | ||
1130 | int fsck_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 1130 | int fsck_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
1131 | int fsck_main(int argc ATTRIBUTE_UNUSED, char **argv) | 1131 | int fsck_main(int argc UNUSED_PARAM, char **argv) |
1132 | { | 1132 | { |
1133 | int i, status; | 1133 | int i, status; |
1134 | /*int interactive;*/ | 1134 | /*int interactive;*/ |
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c index 066af86c7..23a54b72e 100644 --- a/e2fsprogs/lsattr.c +++ b/e2fsprogs/lsattr.c | |||
@@ -58,7 +58,7 @@ static void list_attributes(const char *name) | |||
58 | } | 58 | } |
59 | 59 | ||
60 | static int lsattr_dir_proc(const char *dir_name, struct dirent *de, | 60 | static int lsattr_dir_proc(const char *dir_name, struct dirent *de, |
61 | void *private ATTRIBUTE_UNUSED) | 61 | void *private UNUSED_PARAM) |
62 | { | 62 | { |
63 | struct stat st; | 63 | struct stat st; |
64 | char *path; | 64 | char *path; |
@@ -96,7 +96,7 @@ static void lsattr_args(const char *name) | |||
96 | } | 96 | } |
97 | 97 | ||
98 | int lsattr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 98 | int lsattr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
99 | int lsattr_main(int argc ATTRIBUTE_UNUSED, char **argv) | 99 | int lsattr_main(int argc UNUSED_PARAM, char **argv) |
100 | { | 100 | { |
101 | getopt32(argv, "Radlv"); | 101 | getopt32(argv, "Radlv"); |
102 | argv += optind; | 102 | argv += optind; |
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/getsize.c b/e2fsprogs/old_e2fsprogs/ext2fs/getsize.c index 63a0dcad9..ff11fe98c 100644 --- a/e2fsprogs/old_e2fsprogs/ext2fs/getsize.c +++ b/e2fsprogs/old_e2fsprogs/ext2fs/getsize.c | |||
@@ -78,7 +78,7 @@ errcode_t ext2fs_get_device_size(const char *file, int blocksize, | |||
78 | 78 | ||
79 | dev = CreateFile(file, GENERIC_READ, | 79 | dev = CreateFile(file, GENERIC_READ, |
80 | FILE_SHARE_READ | FILE_SHARE_WRITE , | 80 | FILE_SHARE_READ | FILE_SHARE_WRITE , |
81 | NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); | 81 | NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); |
82 | 82 | ||
83 | if (dev == INVALID_HANDLE_VALUE) | 83 | if (dev == INVALID_HANDLE_VALUE) |
84 | return EBADF; | 84 | return EBADF; |
diff --git a/e2fsprogs/old_e2fsprogs/uuid/uuid.h b/e2fsprogs/old_e2fsprogs/uuid/uuid.h index bd53b15d0..b30ca3c62 100644 --- a/e2fsprogs/old_e2fsprogs/uuid/uuid.h +++ b/e2fsprogs/old_e2fsprogs/uuid/uuid.h | |||
@@ -54,7 +54,7 @@ typedef unsigned char uuid_t[16]; | |||
54 | /* Allow UUID constants to be defined */ | 54 | /* Allow UUID constants to be defined */ |
55 | #ifdef __GNUC__ | 55 | #ifdef __GNUC__ |
56 | #define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ | 56 | #define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ |
57 | static const uuid_t name ATTRIBUTE_UNUSED = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15} | 57 | static const uuid_t name UNUSED_PARAM = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15} |
58 | #else | 58 | #else |
59 | #define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ | 59 | #define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ |
60 | static const uuid_t name = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15} | 60 | static const uuid_t name = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15} |