]> granicus.if.org Git - curl/commitdiff
libtest/lib574.c: use correct callback proto
authorDaniel Stenberg <daniel@haxx.se>
Wed, 31 May 2017 07:55:44 +0000 (09:55 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 31 May 2017 09:56:53 +0000 (11:56 +0200)
tests/libtest/lib574.c

index a51cda05f4535e4f4238f04237ff845de4b9984b..f4fb850ff56e97b1b7f7f1d3912befcad603b99f 100644 (file)
@@ -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
 
 #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;