*/
#include <stdio.h>
+#include <string.h>
#include "parsedate.h"
static char *RCSID = "$Id: parsedate.c,v 1.2 2002-09-28 06:58:45 arjen Exp $";
extern int yyparse();
-compute_unixtime (register struct parseddate *pd);
+void compute_unixtime (register struct parseddate *pd);
/* Number of seconds in various time intervals. */
#define SEC_PER_MIN 60
* far future may turn out to be incorrect if any changes are made
* to the calendar between now and then.
*/
-compute_unixtime (register struct parseddate *pd)
+void compute_unixtime (register struct parseddate *pd)
{
register int weekday, n, l, a;
* ute", "second", and "weekday" fields. The "dst" and "error"
* fields of the structure are not used or modified.
*/
-break_down_unixtime (pd)
+void break_down_unixtime (pd)
register struct parseddate *pd;
{ register unsigned long timevalue;
register int m, n;