[pkg-opensc-commit] [opensc] 104/295: pkcs15-tool: Fix compiler warning
Eric Dorland
eric at moszumanska.debian.org
Sat Jun 24 21:11:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository opensc.
commit fad79ac2c3b4eecf917f93a093121ae330aa4f24
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Fri Oct 14 17:35:00 2016 +0200
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)
^~~~~~~~~
---
src/tools/pkcs15-tool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tools/pkcs15-tool.c b/src/tools/pkcs15-tool.c
index 7eeff44..17c3fad 100644
--- a/src/tools/pkcs15-tool.c
+++ b/src/tools/pkcs15-tool.c
@@ -1198,7 +1198,7 @@ static int clear_cache(void)
#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);
if (r)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git
More information about the pkg-opensc-commit
mailing list