diff options
Diffstat (limited to 'findutils/find.c')
-rw-r--r-- | findutils/find.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c index 8c03977..50c7901 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -74,7 +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, struct stat *statbuf, action_##name* ap) +#define ACTF(name) static int func_##name(const char *fileName ATTRIBUTE_UNUSED, \ + struct stat *statbuf ATTRIBUTE_UNUSED, \ + action_##name* ap ATTRIBUTE_UNUSED) ACTS(print) ACTS(name, const char *pattern; bool iname;) USE_FEATURE_FIND_PATH( ACTS(path, const char *pattern;)) |