From 69a6cc2e135fbecc5fd21a1bc8cf4d8dfe0dc030 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 31 May 2017 09:55:44 +0200 Subject: libtest/lib574.c: use correct callback proto --- tests/libtest/lib574.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/libtest') 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; -- cgit v1.2.3