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 /editors/diff.c | |
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 'editors/diff.c')
-rw-r--r-- | editors/diff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/diff.c b/editors/diff.c index d7eccfbba..570c4c490 100644 --- a/editors/diff.c +++ b/editors/diff.c | |||
@@ -1164,9 +1164,9 @@ static void do_diff(char *dir1, char *path1, char *dir2, char *path2) | |||
1164 | #if ENABLE_FEATURE_DIFF_DIR | 1164 | #if ENABLE_FEATURE_DIFF_DIR |
1165 | /* This function adds a filename to dl, the directory listing. */ | 1165 | /* This function adds a filename to dl, the directory listing. */ |
1166 | static int FAST_FUNC add_to_dirlist(const char *filename, | 1166 | static int FAST_FUNC add_to_dirlist(const char *filename, |
1167 | struct stat *sb ATTRIBUTE_UNUSED, | 1167 | struct stat *sb UNUSED_PARAM, |
1168 | void *userdata, | 1168 | void *userdata, |
1169 | int depth ATTRIBUTE_UNUSED) | 1169 | int depth UNUSED_PARAM) |
1170 | { | 1170 | { |
1171 | /* +2: with space for eventual trailing NULL */ | 1171 | /* +2: with space for eventual trailing NULL */ |
1172 | dl = xrealloc(dl, (dl_count+2) * sizeof(dl[0])); | 1172 | dl = xrealloc(dl, (dl_count+2) * sizeof(dl[0])); |
@@ -1271,7 +1271,7 @@ static void diffdir(char *p1, char *p2) | |||
1271 | 1271 | ||
1272 | 1272 | ||
1273 | int diff_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 1273 | int diff_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
1274 | int diff_main(int argc ATTRIBUTE_UNUSED, char **argv) | 1274 | int diff_main(int argc UNUSED_PARAM, char **argv) |
1275 | { | 1275 | { |
1276 | int gotstdin = 0; | 1276 | int gotstdin = 0; |
1277 | char *f1, *f2; | 1277 | char *f1, *f2; |