aboutsummaryrefslogtreecommitdiff
path: root/lib/http2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http2.h')
-rw-r--r--lib/http2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http2.h b/lib/http2.h
index 09b91d112..ffe16820e 100644
--- a/lib/http2.h
+++ b/lib/http2.h
@@ -34,8 +34,10 @@ int Curl_http2_ver(char *p, size_t len);
CURLcode Curl_http2_request(Curl_send_buffer *req,
struct connectdata *conn);
+void Curl_http2_switched(struct connectdata *conn);
#else /* USE_NGHTTP2 */
#define Curl_http2_request(x,y) CURLE_OK
+#define Curl_http2_switched(x)
#endif
#endif /* HEADER_CURL_HTTP2_H */