From: Yang Tse Date: Thu, 18 Sep 2008 19:17:28 +0000 (+0000) Subject: fix compiler warning: external definition with no prior declaration X-Git-Tag: curl-7_19_1~324 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7ef60c13f948ba41dcf76db3dbaaf29657ac4e2;p=curl fix compiler warning: external definition with no prior declaration --- diff --git a/lib/parsedate.c b/lib/parsedate.c index d1d8d5837..64bb2cc41 100644 --- a/lib/parsedate.c +++ b/lib/parsedate.c @@ -83,6 +83,7 @@ #endif #include +#include "parsedate.h" const char * const Curl_wkday[] = {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"}; diff --git a/tests/libtest/lib506.c b/tests/libtest/lib506.c index 952aa997a..260fec194 100644 --- a/tests/libtest/lib506.c +++ b/tests/libtest/lib506.c @@ -15,8 +15,8 @@ #include -const char *HOSTHEADER = "Host: www.host.foo.com"; -const char *JAR = "log/jar506"; +static const char *HOSTHEADER = "Host: www.host.foo.com"; +static const char *JAR = "log/jar506"; #define THREADS 2 /* struct containing data of a thread */