X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fcookies.c;h=a75799e5fbf2939283eebd19bfd593d4364a278f;hp=fad20e7e9fc32287c2e2afb081a137a0e1b873bd;hb=277e840a0f8e3ec8800cfe7407fe3c16000bc622;hpb=9000d2b527680b4b13964475d84df42815d40e37 diff --git a/src/cookies.c b/src/cookies.c index fad20e7e..a75799e5 100644 --- a/src/cookies.c +++ b/src/cookies.c @@ -45,14 +45,11 @@ so, delete this exception statement from your version. */ #include #include -#ifdef HAVE_STRING_H -# include -#else -# include -#endif +#include #include #include #include +#include #include "wget.h" #include "utils.h" @@ -60,7 +57,7 @@ so, delete this exception statement from your version. */ #include "cookies.h" /* This should *really* be in a .h file! */ -time_t http_atotm PARAMS ((const char *)); +time_t http_atotm (const char *); /* Declarations of `struct cookie' and the most basic functions. */ @@ -818,7 +815,7 @@ check_domain_match (const char *cookie_domain, const char *host) return 1; } -static int path_matches PARAMS ((const char *, const char *)); +static int path_matches (const char *, const char *); /* Check whether PATH begins with COOKIE_PATH. */