]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
http2: remove unused Curl_http2_strerror function declaration
authorBiswapriyo Nath <nathbappai@gmail.com>
Sun, 9 Apr 2023 05:48:53 +0000 (11:18 +0530)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 9 Apr 2023 21:21:42 +0000 (23:21 +0200)
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 '<stdint.h>'

Closes #10912

lib/http2.h

index f78fbf04e09661132994b732adc156c49ccdeb56..562c05c999e39cd2c4e8c46895952464a6e0bcd2 100644 (file)
@@ -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);