diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-06-30 11:09:55 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-06-30 23:23:34 +0200 |
commit | 63c76681827b5ae9017f6c981003cd75e5f127de (patch) | |
tree | bb6bd6e510568427ea63aab4f498e84c442eabf7 /lib/http2.h | |
parent | 5372ee37d394b27f86ada8d9c50fc9b094c27675 (diff) | |
download | curl-63c76681827b5ae9017f6c981003cd75e5f127de.tar.gz |
version: turn version number functions into returning void
... as we never use the return codes from them.
Reviewed-by: Daniel Gustafsson
Closes #7319
Diffstat (limited to 'lib/http2.h')
-rw-r--r-- | lib/http2.h | 5 |
1 files changed, 2 insertions, 3 deletions
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); |