From 4bf28cb904212e37a31403a21c3d9db1f921367d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 3 Oct 2007 08:58:40 +0000 Subject: exported symbols must use lowercase "curl_", and I also fixed two compiler warnings, one C99 thing and the bad pointer sent to the callback --- include/curl/curl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3