pkcs15-tool: Fix compiler warning
pkcs15-tool.c:1201:5: warning: no previous prototype for ‘unlink_cb’ [-Wmissing-prototypes] int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf) ^~~~~~~~~
This commit is contained in:
parent
8b761b830b
commit
fad79ac2c3
|
@ -1198,7 +1198,7 @@ static int clear_cache(void)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
|
static int unlink_cb(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
|
||||||
{
|
{
|
||||||
int r = remove(fpath);
|
int r = remove(fpath);
|
||||||
if (r)
|
if (r)
|
||||||
|
|
Loading…
Reference in New Issue