summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-05-31 09:55:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-31 11:56:53 +0200
commit69a6cc2e135fbecc5fd21a1bc8cf4d8dfe0dc030 (patch)
treec499af8caf53e784dbcb04dd97323fe85992e033
parent501b9ebe9289cb4afd3766688644fbcde7d25ad0 (diff)
downloadcurl-69a6cc2e135fbecc5fd21a1bc8cf4d8dfe0dc030.tar.gz
libtest/lib574.c: use correct callback proto
-rw-r--r--tests/libtest/lib574.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/libtest/lib574.c b/tests/libtest/lib574.c
index a51cda05f..f4fb850ff 100644
--- a/tests/libtest/lib574.c
+++ b/tests/libtest/lib574.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -23,8 +23,10 @@
#include "memdebug.h"
-static int new_fnmatch(const char *pattern, const char *string)
+static int new_fnmatch(void *ptr,
+ const char *pattern, const char *string)
{
+ (void)ptr;
(void)pattern;
(void)string;
return CURL_FNMATCHFUNC_MATCH;