]> sjero.net Git - wget/blobdiff - src/cookies.c
[svn] Move extern declarations to .h files.
[wget] / src / cookies.c
index 18f68fce05c1ae03fff5b5be01bd47e5f9b77416..10710eb618f2d079b05c3c13da026897b7314a40 100644 (file)
@@ -55,9 +55,7 @@ so, delete this exception statement from your version.  */
 #include "utils.h"
 #include "hash.h"
 #include "cookies.h"
-
-/* This should *really* be in a .h file!  */
-time_t http_atotm (const char *);
+#include "http.h"              /* for http_atotm */
 \f
 /* Declarations of `struct cookie' and the most basic functions. */
 
@@ -82,7 +80,7 @@ struct cookie_jar {
 
 /* Value set by entry point functions, so that the low-level
    routines don't need to call time() all the time.  */
-time_t cookies_now;
+static time_t cookies_now;
 
 struct cookie_jar *
 cookie_jar_new (void)