]> granicus.if.org Git - curl/commit
examples: declare TU-local variables static
authorMarcel Raad <raad@teamviewer.com>
Sun, 30 Apr 2017 21:29:31 +0000 (23:29 +0200)
committerMarcel Raad <raad@teamviewer.com>
Sun, 30 Apr 2017 21:29:31 +0000 (23:29 +0200)
commitc23177d5e90aec2ec42bd20004d0acf0a6412456
treee0bc8e1f451614b06396c44ccf0dad1b3a57dc49
parentdc9e4859bb50e4d438dbbb016870effea395b624
examples: declare TU-local variables static

This fixes missing-variable-declarations warnings when building with
clang.
docs/examples/fopen.c
docs/examples/ftpuploadfrommem.c
docs/examples/http2-download.c
docs/examples/http2-upload.c
docs/examples/post-callback.c