mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:13:38 +03:00
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:
parent
5372ee37d3
commit
63c7668182
13 changed files with 31 additions and 37 deletions
|
|
@ -1148,9 +1148,9 @@ static int wssh_getsock(struct Curl_easy *data,
|
|||
return bitmap;
|
||||
}
|
||||
|
||||
size_t Curl_ssh_version(char *buffer, size_t buflen)
|
||||
void Curl_ssh_version(char *buffer, size_t buflen)
|
||||
{
|
||||
return msnprintf(buffer, buflen, "wolfssh/%s", LIBWOLFSSH_VERSION_STRING);
|
||||
(void)msnprintf(buffer, buflen, "wolfssh/%s", LIBWOLFSSH_VERSION_STRING);
|
||||
}
|
||||
|
||||
CURLcode Curl_ssh_init(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue