doc/examples/http_multiclient: fix compilation
authorClément Bœsch <u@pkh.me>
Fri, 30 Sep 2016 17:33:03 +0000 (19:33 +0200)
committerClément Bœsch <u@pkh.me>
Fri, 30 Sep 2016 17:35:52 +0000 (19:35 +0200)
Fixes error: no previous prototype for ‘process_client’ [-Werror=missing-prototypes]

doc/examples/http_multiclient.c

index b9a306d..a48d36f 100644 (file)
@@ -33,7 +33,7 @@
 #include <libavutil/opt.h>
 #include <unistd.h>
 
-void process_client(AVIOContext *client, const char *in_uri)
+static void process_client(AVIOContext *client, const char *in_uri)
 {
     AVIOContext *input = NULL;
     uint8_t buf[1024];