diff options
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 51d26c0..f2b8974 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -74,9 +74,9 @@ typedef struct { #endif } action; #define ACTS(name, arg...) typedef struct { action a; arg; } action_##name; -#define ACTF(name) static int func_##name(const char *fileName ATTRIBUTE_UNUSED, \ - struct stat *statbuf ATTRIBUTE_UNUSED, \ - action_##name* ap ATTRIBUTE_UNUSED) +#define ACTF(name) static int func_##name(const char *fileName UNUSED_PARAM, \ + struct stat *statbuf UNUSED_PARAM, \ + action_##name* ap UNUSED_PARAM) ACTS(print) ACTS(name, const char *pattern; bool iname;) USE_FEATURE_FIND_PATH( ACTS(path, const char *pattern;)) @@ -376,8 +376,8 @@ ACTF(context) static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf, - void *userData SKIP_FEATURE_FIND_MAXDEPTH(ATTRIBUTE_UNUSED), - int depth SKIP_FEATURE_FIND_MAXDEPTH(ATTRIBUTE_UNUSED)) + void *userData SKIP_FEATURE_FIND_MAXDEPTH(UNUSED_PARAM), + int depth SKIP_FEATURE_FIND_MAXDEPTH(UNUSED_PARAM)) { int i; #if ENABLE_FEATURE_FIND_MAXDEPTH diff --git a/findutils/grep.c b/findutils/grep.c index 8d18f43..5cfd772 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -371,9 +371,9 @@ static void load_regexes_from_file(llist_t *fopt) } static int FAST_FUNC file_action_grep(const char *filename, - struct stat *statbuf ATTRIBUTE_UNUSED, + struct stat *statbuf UNUSED_PARAM, void* matched, - int depth ATTRIBUTE_UNUSED) + int depth UNUSED_PARAM) { FILE *file = fopen(filename, "r"); if (file == NULL) { diff --git a/findutils/xargs.c b/findutils/xargs.c index 3322e9e..7a9865b 100644 --- a/findutils/xargs.c +++ b/findutils/xargs.c @@ -292,7 +292,7 @@ static int xargs_ask_confirmation(void) #if ENABLE_FEATURE_XARGS_SUPPORT_ZERO_TERM static xlist_t *process0_stdin(xlist_t *list_arg, - const char *eof_str ATTRIBUTE_UNUSED, size_t mc, char *buf) + const char *eof_str UNUSED_PARAM, size_t mc, char *buf) { int c; /* current char */ char *s = NULL; /* start word */ |