aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/file.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/file.c b/src/file.c
index 0273e71..a1ebb6d 100644
--- a/src/file.c
+++ b/src/file.c
@@ -1,4 +1,5 @@
#include "file.h"
+#include "compiler.h"
#include "log.h"
#include <ftw.h>
@@ -7,7 +8,8 @@
#include <sys/stat.h>
#include <unistd.h>
-static int unlink_cb(const char *fpath, const struct stat *, int, struct FTW *)
+static int unlink_cb(const char *fpath, UNUSED const struct stat *sb, UNUSED int typeflag,
+ UNUSED struct FTW *ftwbuf)
{
int ret = 0;