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 /findutils | |
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 'findutils')
-rw-r--r-- | findutils/find.c | 10 | ||||
-rw-r--r-- | findutils/grep.c | 4 | ||||
-rw-r--r-- | findutils/xargs.c | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/findutils/find.c b/findutils/find.c index 51d26c00a..f2b89746f 100644 --- a/findutils/find.c +++ b/findutils/find.c | |||
@@ -74,9 +74,9 @@ typedef struct { | |||
74 | #endif | 74 | #endif |
75 | } action; | 75 | } action; |
76 | #define ACTS(name, arg...) typedef struct { action a; arg; } action_##name; | 76 | #define ACTS(name, arg...) typedef struct { action a; arg; } action_##name; |
77 | #define ACTF(name) static int func_##name(const char *fileName ATTRIBUTE_UNUSED, \ | 77 | #define ACTF(name) static int func_##name(const char *fileName UNUSED_PARAM, \ |
78 | struct stat *statbuf ATTRIBUTE_UNUSED, \ | 78 | struct stat *statbuf UNUSED_PARAM, \ |
79 | action_##name* ap ATTRIBUTE_UNUSED) | 79 | action_##name* ap UNUSED_PARAM) |
80 | ACTS(print) | 80 | ACTS(print) |
81 | ACTS(name, const char *pattern; bool iname;) | 81 | ACTS(name, const char *pattern; bool iname;) |
82 | USE_FEATURE_FIND_PATH( ACTS(path, const char *pattern;)) | 82 | USE_FEATURE_FIND_PATH( ACTS(path, const char *pattern;)) |
@@ -376,8 +376,8 @@ ACTF(context) | |||
376 | 376 | ||
377 | static int FAST_FUNC fileAction(const char *fileName, | 377 | static int FAST_FUNC fileAction(const char *fileName, |
378 | struct stat *statbuf, | 378 | struct stat *statbuf, |
379 | void *userData SKIP_FEATURE_FIND_MAXDEPTH(ATTRIBUTE_UNUSED), | 379 | void *userData SKIP_FEATURE_FIND_MAXDEPTH(UNUSED_PARAM), |
380 | int depth SKIP_FEATURE_FIND_MAXDEPTH(ATTRIBUTE_UNUSED)) | 380 | int depth SKIP_FEATURE_FIND_MAXDEPTH(UNUSED_PARAM)) |
381 | { | 381 | { |
382 | int i; | 382 | int i; |
383 | #if ENABLE_FEATURE_FIND_MAXDEPTH | 383 | #if ENABLE_FEATURE_FIND_MAXDEPTH |
diff --git a/findutils/grep.c b/findutils/grep.c index 8d18f43ec..5cfd7721f 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -371,9 +371,9 @@ static void load_regexes_from_file(llist_t *fopt) | |||
371 | } | 371 | } |
372 | 372 | ||
373 | static int FAST_FUNC file_action_grep(const char *filename, | 373 | static int FAST_FUNC file_action_grep(const char *filename, |
374 | struct stat *statbuf ATTRIBUTE_UNUSED, | 374 | struct stat *statbuf UNUSED_PARAM, |
375 | void* matched, | 375 | void* matched, |
376 | int depth ATTRIBUTE_UNUSED) | 376 | int depth UNUSED_PARAM) |
377 | { | 377 | { |
378 | FILE *file = fopen(filename, "r"); | 378 | FILE *file = fopen(filename, "r"); |
379 | if (file == NULL) { | 379 | if (file == NULL) { |
diff --git a/findutils/xargs.c b/findutils/xargs.c index 3322e9ebd..7a9865b5e 100644 --- a/findutils/xargs.c +++ b/findutils/xargs.c | |||
@@ -292,7 +292,7 @@ static int xargs_ask_confirmation(void) | |||
292 | 292 | ||
293 | #if ENABLE_FEATURE_XARGS_SUPPORT_ZERO_TERM | 293 | #if ENABLE_FEATURE_XARGS_SUPPORT_ZERO_TERM |
294 | static xlist_t *process0_stdin(xlist_t *list_arg, | 294 | static xlist_t *process0_stdin(xlist_t *list_arg, |
295 | const char *eof_str ATTRIBUTE_UNUSED, size_t mc, char *buf) | 295 | const char *eof_str UNUSED_PARAM, size_t mc, char *buf) |
296 | { | 296 | { |
297 | int c; /* current char */ | 297 | int c; /* current char */ |
298 | char *s = NULL; /* start word */ | 298 | char *s = NULL; /* start word */ |