aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/getdate.y
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/getdate.y')
-rw-r--r--calendar/gui/getdate.y7
1 files changed, 5 insertions, 2 deletions
diff --git a/calendar/gui/getdate.y b/calendar/gui/getdate.y
index 6df71bddda..43917089d6 100644
--- a/calendar/gui/getdate.y
+++ b/calendar/gui/getdate.y
@@ -111,8 +111,8 @@ extern struct tm *localtime();
#define yylex getdate_yylex
#define yyerror getdate_yyerror
-static int yylex ();
-static int yyerror ();
+static int yylex (void);
+static int yyerror (char *s);
#define EPOCH 1970
#define HOUR(x) ((time_t)(x) * 60)
@@ -894,6 +894,9 @@ difftm (a, b)
}
time_t
+get_date(char *p, struct timeb *now);
+
+time_t
get_date(p, now)
char *p;
struct timeb *now;