mirror of
https://github.com/curl/curl.git
synced 2026-08-24 16:53:34 +03:00
exported symbols must use lowercase "curl_", and I also fixed two compiler
warnings, one C99 thing and the bad pointer sent to the callback
This commit is contained in:
parent
1abde9009a
commit
4bf28cb904
2 changed files with 8 additions and 7 deletions
|
|
@ -246,7 +246,7 @@ typedef int (*curl_sockopt_callback)(void *clientp,
|
|||
curl_socket_t curlfd,
|
||||
curlsocktype purpose);
|
||||
|
||||
struct Curl_sockaddr {
|
||||
struct curl_sockaddr {
|
||||
int family;
|
||||
int socktype;
|
||||
int protocol;
|
||||
|
|
@ -255,9 +255,9 @@ struct Curl_sockaddr {
|
|||
};
|
||||
|
||||
typedef curl_socket_t
|
||||
(*curl_opensocket_callback)(void* clentp,
|
||||
(*curl_opensocket_callback)(void *clientp,
|
||||
curlsocktype purpose,
|
||||
struct Curl_sockaddr* address);
|
||||
struct curl_sockaddr *address);
|
||||
|
||||
#ifndef CURL_NO_OLDIES
|
||||
/* not used since 7.10.8, will be removed in a future release */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue