From: Daniel Stenberg Date: Wed, 31 May 2017 07:55:44 +0000 (+0200) Subject: libtest/lib574.c: use correct callback proto X-Git-Tag: curl-7_54_1~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69a6cc2e135fbecc5fd21a1bc8cf4d8dfe0dc030;p=curl libtest/lib574.c: use correct callback proto --- 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, , et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, , 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;