From a88bdf9c4c10569043bf736f3b052dc5eccf5ab4 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 8 Sep 2000 16:45:12 +0000 Subject: Fixed some warnings. 2000-09-08 Christopher James Lahey * cal-util/cal-recur.c, gui/e-day-view.c, gui/e-week-view.c, gui/event-editor.c, gui/getdate.y, gui/gncal-todo.c, gui/gnome-cal.c, gui/dialogs/task-editor.c: Fixed some warnings. svn path=/trunk/; revision=5264 --- calendar/gui/getdate.y | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'calendar/gui/getdate.y') 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) @@ -893,6 +893,9 @@ difftm (a, b) + (a->tm_sec - b->tm_sec)); } +time_t +get_date(char *p, struct timeb *now); + time_t get_date(p, now) char *p; -- cgit v1.2.3