From 5023d7c9449e79b8eb953b0da4853ba711ec1825 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 9 Apr 2023 11:18:53 +0530 Subject: [PATCH] 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 --- lib/http2.h | 2 -- 1 file changed, 2 deletions(-) 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);