From a60f84ebf07863e390b72a2b6150e461a1ec18e9 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 5 Jul 2008 09:18:54 +0000 Subject: *: rename ATTRIBUTE_XXX to just XXX. --- editors/diff.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editors/diff.c') 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) #if ENABLE_FEATURE_DIFF_DIR /* This function adds a filename to dl, the directory listing. */ static int FAST_FUNC add_to_dirlist(const char *filename, - struct stat *sb ATTRIBUTE_UNUSED, + struct stat *sb UNUSED_PARAM, void *userdata, - int depth ATTRIBUTE_UNUSED) + int depth UNUSED_PARAM) { /* +2: with space for eventual trailing NULL */ dl = xrealloc(dl, (dl_count+2) * sizeof(dl[0])); @@ -1271,7 +1271,7 @@ static void diffdir(char *p1, char *p2) int diff_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -int diff_main(int argc ATTRIBUTE_UNUSED, char **argv) +int diff_main(int argc UNUSED_PARAM, char **argv) { int gotstdin = 0; char *f1, *f2; -- cgit v1.2.3