mirror of
https://github.com/curl/curl.git
synced 2026-06-01 22:04:15 +03:00
CURLSHOPT_UNLOCKFUNC.3: fix the callback prototype
Copy and paste error Reported-by: Francisco Olarte Fixes #8573 Closes #8577
This commit is contained in:
parent
0a142663a1
commit
475e451766
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue