From: Daniel Stenberg Date: Thu, 10 Mar 2022 18:42:04 +0000 (+0100) Subject: CURLSHOPT_UNLOCKFUNC.3: fix the callback prototype X-Git-Tag: curl-7_83_0~160 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=475e45176694a1895d6ace15e2da9df46d545142;p=thirdparty%2Fcurl.git CURLSHOPT_UNLOCKFUNC.3: fix the callback prototype Copy and paste error Reported-by: Francisco Olarte Fixes #8573 Closes #8577 --- diff --git a/docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.3 b/docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.3 index 586cb4a2e8..d22db844c1 100644 --- a/docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.3 +++ b/docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2022, 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 @@ -26,8 +26,7 @@ CURLSHOPT_UNLOCKFUNC - mutex unlock callback .nf #include -void unlockcb(CURL *handle, curl_lock_data data, curl_lock_access access, - void *userptr); +void unlockcb(CURL *handle, curl_lock_data data, void *userptr); CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_UNLOCKFUNC, unlockcb); .fi