mirror of
https://github.com/curl/curl.git
synced 2026-07-31 14:58:02 +03:00
examples: declare TU-local variables static
This fixes missing-variable-declarations warnings when building with clang.
This commit is contained in:
parent
dc9e4859bb
commit
c23177d5e9
5 changed files with 8 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue