typedefs: use the full structs in internal code...

... and save the typedef'ed names for headers and external APIs.
This commit is contained in:
Daniel Stenberg 2016-06-21 19:31:24 +02:00
parent 434f8d0389
commit 80388edefc
7 changed files with 51 additions and 49 deletions

View file

@ -335,7 +335,7 @@ char *curl_pushheader_byname(struct curl_pushheaders *h, const char *header)
return NULL;
}
static CURL *duphandle(struct Curl_easy *data)
static struct Curl_easy *duphandle(struct Curl_easy *data)
{
struct Curl_easy *second = curl_easy_duphandle(data);
if(second) {