version: turn version number functions into returning void

... as we never use the return codes from them.

Reviewed-by: Daniel Gustafsson
Closes #7319
This commit is contained in:
Daniel Stenberg 2021-06-30 11:09:55 +02:00
parent 5372ee37d3
commit 63c7668182
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
13 changed files with 31 additions and 37 deletions

View file

@ -262,7 +262,7 @@ extern const struct Curl_handler Curl_handler_sftp;
/* generic SSH backend functions */
CURLcode Curl_ssh_init(void);
void Curl_ssh_cleanup(void);
size_t Curl_ssh_version(char *buffer, size_t buflen);
void Curl_ssh_version(char *buffer, size_t buflen);
void Curl_ssh_attach(struct Curl_easy *data,
struct connectdata *conn);
#else