diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-04-30 23:29:31 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-04-30 23:29:31 +0200 |
commit | c23177d5e90aec2ec42bd20004d0acf0a6412456 (patch) | |
tree | e0bc8e1f451614b06396c44ccf0dad1b3a57dc49 /docs/examples/post-callback.c | |
parent | dc9e4859bb50e4d438dbbb016870effea395b624 (diff) |
examples: declare TU-local variables static
This fixes missing-variable-declarations warnings when building with
clang.
Diffstat (limited to 'docs/examples/post-callback.c')
-rw-r--r-- | docs/examples/post-callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/post-callback.c b/docs/examples/post-callback.c index f4cd50c0b..dbf249140 100644 --- a/docs/examples/post-callback.c +++ b/docs/examples/post-callback.c @@ -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; |