]> granicus.if.org Git - curl/commit
cleanup: make local functions static
authorDaniel Stenberg <daniel@haxx.se>
Fri, 8 Feb 2019 08:33:42 +0000 (09:33 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 10 Feb 2019 17:38:57 +0000 (18:38 +0100)
commit05b100aee247bb9bec8e9a1b0166496aa4248d1c
treea0ab4d620d8102de82b08a67609394b0d2f09608
parent9a36c0ae21d675587d4e2a52c50a6ce8a2150770
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
22 files changed:
lib/conncache.c
lib/connect.c
lib/connect.h
lib/curl_endian.c
lib/curl_ntlm_core.c
lib/curl_setup.h
lib/hostip.c
lib/hostip.h
lib/http.c
lib/http2.c
lib/http2.h
lib/memdebug.c
lib/multi.c
lib/rtsp.c
lib/setopt.c
lib/url.c
lib/urlapi.c
lib/warnless.c
lib/warnless.h
tests/unit/unit1607.c
tests/unit/unit1608.c
tests/unit/unit1609.c