aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/getdate.y
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-09-09 00:45:12 +0800
committerChris Lahey <clahey@src.gnome.org>2000-09-09 00:45:12 +0800
commita88bdf9c4c10569043bf736f3b052dc5eccf5ab4 (patch)
tree72fe4479b00781f5981f5b2da5341725baca0cdc /calendar/gui/getdate.y
parent7c349155a53ccc3691037d02305c2cf594f2c15e (diff)
downloadgsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.tar.gz
gsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.tar.zst
gsoc2013-evolution-a88bdf9c4c10569043bf736f3b052dc5eccf5ab4.zip
Fixed some warnings.
2000-09-08 Christopher James Lahey <clahey@helixcode.com> * 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
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;