]> granicus.if.org Git - curl/commit
http2: declare TU-local variables static
authorMarcel Raad <raad@teamviewer.com>
Sun, 30 Apr 2017 20:33:33 +0000 (22:33 +0200)
committerMarcel Raad <raad@teamviewer.com>
Sun, 30 Apr 2017 20:33:33 +0000 (22:33 +0200)
commitdc9e4859bb50e4d438dbbb016870effea395b624
treec8fd5f21c63c4c66673e5291b1747c82729bf895
parent092d012441e92f3dfca2a6e923c36edb8ab60e96
http2: declare TU-local variables static

This fixes the following clang warnings:

http2.c:184:27: error: no previous extern declaration for non-static
variable 'Curl_handler_http2' [-Werror,-Wmissing-variable-declarations]
http2.c:204:27: error: no previous extern declaration for non-static
variable 'Curl_handler_http2_ssl'
[-Werror,-Wmissing-variable-declarations]
lib/http2.c