CURLSHOPT_UNLOCKFUNC.3: fix the callback prototype

Copy and paste error

Reported-by: Francisco Olarte
Fixes #8573
Closes #8577
This commit is contained in:
Daniel Stenberg 2022-03-10 19:42:04 +01:00
parent 0a142663a1
commit 475e451766
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View 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