warnless: remove curlx_sktosi and curlx_sitosk

They were only used by test server code. Use plain old typecasts there.

Closes #15153
This commit is contained in:
Daniel Stenberg 2024-10-04 22:32:04 +02:00
parent 57cc523378
commit e9eda865df
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 2 additions and 32 deletions

View file

@ -61,14 +61,6 @@ unsigned short curlx_uitous(unsigned int uinum);
size_t curlx_sitouz(int sinum);
#ifdef USE_WINSOCK
int curlx_sktosi(curl_socket_t s);
curl_socket_t curlx_sitosk(int i);
#endif /* USE_WINSOCK */
#if defined(_WIN32)
ssize_t curlx_read(int fd, void *buf, size_t count);