1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

libtest/lib574.c: use correct callback proto

This commit is contained in:
Daniel Stenberg 2017-05-31 09:55:44 +02:00
parent 501b9ebe92
commit 69a6cc2e13

View 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
@ -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;