diff options
author | Yang Tse <yangsita@gmail.com> | 2011-05-24 17:35:08 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-05-24 17:35:08 +0200 |
commit | ec33742d1bd22fd964fda9a9947a4ec3c3e3236a (patch) | |
tree | e9965390330e30b7d7272a1789db647e160826f1 /tests/unit | |
parent | 2ea31b0e6f7c0709b4767ed1babeff6b92000282 (diff) |
compiler warning: fix
Fix compiler warning: external definition with no prior declaration
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/unit1300.c | 2 | ||||
-rw-r--r-- | tests/unit/unit1304.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/unit1300.c b/tests/unit/unit1300.c index 0589c920a..792bfa1e6 100644 --- a/tests/unit/unit1300.c +++ b/tests/unit/unit1300.c @@ -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) { diff --git a/tests/unit/unit1304.c b/tests/unit/unit1304.c index 3efbe0b82..7b2985c58 100644 --- a/tests/unit/unit1304.c +++ b/tests/unit/unit1304.c @@ -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) { |