From d673c2769605eccce9e3a5a0acddde90e252d00c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 10 Mar 2022 19:42:04 +0100 Subject: [PATCH] CURLSHOPT_UNLOCKFUNC.3: fix the callback prototype Copy and paste error Fixes #8573 Reported-by: Francisco Olarte --- docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.3 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.3 b/docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.3 index 586cb4a2e8cfee..d22db844c1693e 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