mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:53:31 +03:00
cleanup: make local functions static
urlapi: turn three local-only functions into statics conncache: make conncache_find_first_connection static multi: make detach_connnection static connect: make getaddressinfo static curl_ntlm_core: make hmac_md5 static http2: make two functions static http: make http_setup_conn static connect: make tcpnodelay static tests: make UNITTEST a thing to mark functions with, so they can be static for normal builds and non-static for unit test builds ... and mark Curl_shuffle_addr accordingly. url: make up_free static setopt: make vsetopt static curl_endian: make write32_le static rtsp: make rtsp_connisdead static warnless: remove unused functions memdebug: remove one unused function, made another static
This commit is contained in:
parent
9a36c0ae21
commit
05b100aee2
22 changed files with 103 additions and 160 deletions
|
|
@ -7,7 +7,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -57,10 +57,6 @@ int curlx_sztosi(ssize_t sznum);
|
|||
|
||||
unsigned short curlx_uitous(unsigned int uinum);
|
||||
|
||||
unsigned char curlx_uitouc(unsigned int uinum);
|
||||
|
||||
int curlx_uitosi(unsigned int uinum);
|
||||
|
||||
size_t curlx_sitouz(int sinum);
|
||||
|
||||
#ifdef USE_WINSOCK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue