summaryrefslogtreecommitdiff
path: root/lib/http2.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-06-21 19:31:24 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-06-22 10:28:41 +0200
commit80388edefca58f8199cdfde077efb7f6d91e60fa (patch)
tree75a7c62086c38a4f85a4c27c82cac7d98afccbf8 /lib/http2.c
parent434f8d0389f2969b393ff81ead713b7600502f27 (diff)
downloadgnurl-80388edefca58f8199cdfde077efb7f6d91e60fa.tar.gz
gnurl-80388edefca58f8199cdfde077efb7f6d91e60fa.tar.bz2
gnurl-80388edefca58f8199cdfde077efb7f6d91e60fa.zip
typedefs: use the full structs in internal code...
... and save the typedef'ed names for headers and external APIs.
Diffstat (limited to 'lib/http2.c')
-rw-r--r--lib/http2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.c b/lib/http2.c
index d7fae0401..efc082dd5 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -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) {