diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-28 16:27:01 +0200 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-28 17:01:18 +0200 |
| commit | c34317dc2cbb1d636fd00bd201033acb1ae22016 (patch) | |
| tree | 54a1a823562fa7453d8378bde19b45dd657e96e8 /src/file.c | |
| parent | server: more logging (diff) | |
| download | cimple-c34317dc2cbb1d636fd00bd201033acb1ae22016.tar.gz cimple-c34317dc2cbb1d636fd00bd201033acb1ae22016.zip | |
make compilers happier
Diffstat (limited to 'src/file.c')
| -rw-r--r-- | src/file.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |
