From ec33742d1bd22fd964fda9a9947a4ec3c3e3236a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 24 May 2011 17:35:08 +0200 Subject: [PATCH] compiler warning: fix Fix compiler warning: external definition with no prior declaration --- tests/unit/unit1300.c | 2 +- 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) {