]> granicus.if.org Git - curl/commitdiff
fix compiler warning: external definition with no prior declaration
authorYang Tse <yangsita@gmail.com>
Thu, 18 Sep 2008 19:17:28 +0000 (19:17 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 18 Sep 2008 19:17:28 +0000 (19:17 +0000)
lib/parsedate.c
tests/libtest/lib506.c

index d1d8d58378edb8b227a60ca05e7df861d8cb5b49..64bb2cc4118ce8c05ef8aaaffea50f7cc95aada5 100644 (file)
@@ -83,6 +83,7 @@
 #endif
 
 #include <curl/curl.h>
+#include "parsedate.h"
 
 const char * const Curl_wkday[] =
 {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"};
index 952aa997aadf85fa3441ae5bbbf2b202da6a0822..260fec19406abcd14becd18302d04350320fd99b 100644 (file)
@@ -15,8 +15,8 @@
 
 #include <curl/mprintf.h>
 
-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 */