diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-10-03 08:58:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-10-03 08:58:40 +0000 |
commit | 4bf28cb904212e37a31403a21c3d9db1f921367d (patch) | |
tree | a15715231d2814b0136e7b36c8535588328ff186 /include | |
parent | 1abde9009a1451308557792d7e467eed5bd0534e (diff) |
exported symbols must use lowercase "curl_", and I also fixed two compiler
warnings, one C99 thing and the bad pointer sent to the callback
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 37058254d..10a287887 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -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 */ |