From: Biswapriyo Nath Date: Sun, 9 Apr 2023 05:48:53 +0000 (+0530) Subject: http2: remove unused Curl_http2_strerror function declaration X-Git-Tag: curl-8_1_0~199 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5023d7c9449e79b8eb953b0da4853ba711ec1825;p=thirdparty%2Fcurl.git http2: remove unused Curl_http2_strerror function declaration Curl_http2_strerror was renamed to http2_strerror in 05b100aee247bb9bec8e9a1b0 and then http2_strerror was removed in 5808a0d0f5ea0399d4a2a2 This also fixes the following compiler error lib/http2.h:41:33: error: unknown type name 'uint32_t' lib/http2.h:1:1: note: 'uint32_t' is defined in header '' Closes #10912 --- diff --git a/lib/http2.h b/lib/http2.h index f78fbf04e0..562c05c999 100644 --- a/lib/http2.h +++ b/lib/http2.h @@ -38,8 +38,6 @@ */ void Curl_http2_ver(char *p, size_t len); -const char *Curl_http2_strerror(uint32_t err); - CURLcode Curl_http2_request_upgrade(struct dynbuf *req, struct Curl_easy *data);