From a384f28ca61e5631f81b209a2994eb13b9ac12df Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 2 Jun 2015 11:50:00 +0200 Subject: http2: curl_pushheader_byname now takes a const char * --- include/curl/multi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/curl/multi.h b/include/curl/multi.h index b2670e254..d34694c4c 100644 --- a/include/curl/multi.h +++ b/include/curl/multi.h @@ -298,9 +298,8 @@ struct curl_pushheaders; /* forward declaration only */ CURL_EXTERN char *curl_pushheader_bynum(struct curl_pushheaders *h, size_t num); - CURL_EXTERN char *curl_pushheader_byname(struct curl_pushheaders *h, - char *name); + const char *name); typedef int (*curl_push_callback)(CURL *parent, CURL *easy, -- cgit v1.2.3