gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 40/254: curl_rtmp: fix missing-variable-declaration


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 40/254: curl_rtmp: fix missing-variable-declarations warnings
Date: Sat, 17 Jun 2017 16:51:12 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.

commit 65c6caacaee87f2b09aa03e5eed1bcbd9e356f68
Author: Marcel Raad <address@hidden>
AuthorDate: Sat Apr 29 19:17:51 2017 +0200

    curl_rtmp: fix missing-variable-declarations warnings
    
    clang complains:
    
    curl_rtmp.c:61:27: error: no previous extern declaration for non-static 
variable 'Curl_handler_rtmp' [-Werror,-Wmissing-variable-declarations]
    curl_rtmp.c:81:27: error: no previous extern declaration for non-static 
variable 'Curl_handler_rtmpt' [-Werror,-Wmissing-variable-declarations]
    curl_rtmp.c:101:27: error: no previous extern declaration for non-static 
variable 'Curl_handler_rtmpe' [-Werror,-Wmissing-variable-declarations]
    curl_rtmp.c:121:27: error: no previous extern declaration for non-static 
variable 'Curl_handler_rtmpte' [-Werror,-Wmissing-variable-declarations]
    curl_rtmp.c:141:27: error: no previous extern declaration for non-static 
variable 'Curl_handler_rtmps' [-Werror,-Wmissing-variable-declarations]
    curl_rtmp.c:161:27: error: no previous extern declaration for non-static 
variable 'Curl_handler_rtmpts' [-Werror,-Wmissing-variable-declarations]
    
    Fix this by including the header file.
---
 lib/curl_rtmp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/curl_rtmp.c b/lib/curl_rtmp.c
index 06dd047a4..87a6caf9e 100644
--- a/lib/curl_rtmp.c
+++ b/lib/curl_rtmp.c
@@ -25,6 +25,7 @@
 
 #ifdef USE_LIBRTMP
 
+#include "curl_rtmp.h"
 #include "urldata.h"
 #include "nonblock.h" /* for curlx_nonblock */
 #include "progress.h" /* for Curl_pgrsSetUploadSize */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]