mirror of
https://github.com/curl/curl.git
synced 2026-07-26 20:37:17 +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
|
|
@ -28,7 +28,7 @@
|
|||
#include <string.h>
|
||||
#include <curl/curl.h>
|
||||
|
||||
const char data[]="this is what we post to the silly web server";
|
||||
static const char data[]="this is what we post to the silly web server";
|
||||
|
||||
struct WriteThis {
|
||||
const char *readptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue