aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/http2-upload.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/http2-upload.c')
-rw-r--r--docs/examples/http2-upload.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/http2-upload.c b/docs/examples/http2-upload.c
index aa0ac4458..01dfc0b3d 100644
--- a/docs/examples/http2-upload.c
+++ b/docs/examples/http2-upload.c
@@ -45,8 +45,8 @@
#define NUM_HANDLES 1000
-void *curl_hnd[NUM_HANDLES];
-int num_transfers;
+static void *curl_hnd[NUM_HANDLES];
+static int num_transfers;
/* a handle to number lookup, highly ineffective when we do many
transfers... */
@@ -177,7 +177,7 @@ static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp)
return retcode;
}
-struct input indata[NUM_HANDLES];
+static struct input indata[NUM_HANDLES];
static void setup(CURL *hnd, int num, const char *upload)
{