]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLSHOPT_UNLOCKFUNC.3: fix the callback prototype
authorDaniel Stenberg <daniel@haxx.se>
Thu, 10 Mar 2022 18:42:04 +0000 (19:42 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Mar 2022 22:01:37 +0000 (23:01 +0100)
Copy and paste error

Reported-by: Francisco Olarte
Fixes #8573
Closes #8577

docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.3

index 586cb4a2e8cfee3e3dafbdca781ee909d406c1e1..d22db844c1693ea47402f5d85321abb4b7bc21db 100644 (file)
@@ -5,7 +5,7 @@
 .\" *                            | (__| |_| |  _ <| |___
 .\" *                             \___|\___/|_| \_\_____|
 .\" *
-.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2022, 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
@@ -26,8 +26,7 @@ CURLSHOPT_UNLOCKFUNC - mutex unlock callback
 .nf
 #include <curl/curl.h>
 
-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