diff options
Diffstat (limited to 'docs/examples/multithread.c')
-rw-r--r-- | docs/examples/multithread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/multithread.c b/docs/examples/multithread.c index 299edd57a..3b500c765 100644 --- a/docs/examples/multithread.c +++ b/docs/examples/multithread.c @@ -41,7 +41,7 @@ https://curl.se/libcurl/c/threadsafe.html */ -const char * const urls[NUMT]= { +static const char * const urls[NUMT]= { "https://curl.se/", "ftp://example.com/", "https://example.net/", @@ -67,7 +67,7 @@ static void *pull_one_url(void *url) void * (*start_func)(void *), void *arg); */ -int main(int argc, char **argv) +int main(void) { pthread_t tid[NUMT]; int i; |