examples: declare TU-local variables static

This fixes missing-variable-declarations warnings when building with
clang.
This commit is contained in:
Marcel Raad 2017-04-30 23:29:31 +02:00
parent dc9e4859bb
commit c23177d5e9
No known key found for this signature in database
GPG key ID: B4668817AE6D6CD4
5 changed files with 8 additions and 8 deletions

View file

@ -88,7 +88,7 @@ char *url_fgets(char *ptr, size_t size, URL_FILE *file);
void url_rewind(URL_FILE *file);
/* we use a global one for convenience */
CURLM *multi_handle;
static CURLM *multi_handle;
/* curl calls this routine to get more data */
static size_t write_callback(char *buffer,