/*
- * $Id: rfc1123.c,v 1.41 2007/12/06 02:37:15 amosjeffries Exp $
+ * $Id$
*
* DEBUG:
* AUTHOR: Harvest Derived
#if HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
-#include "assert.h"
#include "util.h"
}
static struct tm *
- parse_date_elements(const char *day, const char *month, const char *year,
- const char *time, const char *zone) {
+parse_date_elements(const char *day, const char *month, const char *year,
+ const char *time, const char *zone) {
static struct tm tm;
char *t;
memset(&tm, 0, sizeof(tm));
}
static struct tm *
- parse_date(const char *str) {
+parse_date(const char *str) {
struct tm *tm;
static char tmp[64];
char *t;
#elif defined(_SQUID_MSWIN_)
#elif defined(_SQUID_SGI_)
#else
- extern long timezone;
+ extern long timezone;
#endif
/*
* The following assumes a fixed DST offset of 1 hour,
#if defined ( _timezone) || defined(_SQUID_WIN32_)
t -= (_timezone + dst);
#else
- t -= (timezone + dst);
+ t -= (timezone + dst);
#endif
}
#endif