]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
compiler warning: fix
authorYang Tse <yangsita@gmail.com>
Tue, 24 May 2011 15:35:08 +0000 (17:35 +0200)
committerYang Tse <yangsita@gmail.com>
Tue, 24 May 2011 15:35:08 +0000 (17:35 +0200)
Fix compiler warning: external definition with no prior declaration

tests/unit/unit1300.c
tests/unit/unit1304.c

index 0589c920ac164a19a999eeb62e216e895e87982d..792bfa1e626df50278d5c8edbaa828055bfce3a2 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "llist.h"
 
-struct curl_llist *llist;
+static struct curl_llist *llist;
 
 static void test_curl_llist_dtor(void *key, void *value)
 {
index 3efbe0b8298481bea26bb669619a88faf2be39ff..7b2985c58c553e82bab2b0d5e139c5930d4643c6 100644 (file)
@@ -23,9 +23,9 @@
 
 #include "netrc.h"
 
-char login[LOGINSIZE];
-char password[PASSWORDSIZE];
-char filename[64];
+static char login[LOGINSIZE];
+static char password[PASSWORDSIZE];
+static char filename[64];
 
 static CURLcode unit_setup(void)
 {