From 63c76681827b5ae9017f6c981003cd75e5f127de Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 30 Jun 2021 11:09:55 +0200 Subject: version: turn version number functions into returning void ... as we never use the return codes from them. Reviewed-by: Daniel Gustafsson Closes #7319 --- lib/http2.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/http2.h') diff --git a/lib/http2.h b/lib/http2.h index 21e2c086a..d6986d97f 100644 --- a/lib/http2.h +++ b/lib/http2.h @@ -32,10 +32,9 @@ #define DEFAULT_MAX_CONCURRENT_STREAMS 100 /* - * Store nghttp2 version info in this buffer, Prefix with a space. Return - * total length written. + * Store nghttp2 version info in this buffer. */ -int Curl_http2_ver(char *p, size_t len); +void Curl_http2_ver(char *p, size_t len); const char *Curl_http2_strerror(uint32_t err); -- cgit v1.2.1