aboutsummaryrefslogtreecommitdiff
path: root/lib/getdate.c.cvs
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2004-06-22 23:04:57 +0000
committerGunter Knauf <gk@gknw.de>2004-06-22 23:04:57 +0000
commit806c756a2d2dd7701f57eb7eb5c417c98a62a518 (patch)
tree1b1fd8c7e66ffe8b8db8448978381b28a1e49b4f /lib/getdate.c.cvs
parent2494701347f73e70d803bd20ebe5b532dea77290 (diff)
syncronized with recent getdate.y updates.
Diffstat (limited to 'lib/getdate.c.cvs')
-rw-r--r--lib/getdate.c.cvs7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/getdate.c.cvs b/lib/getdate.c.cvs
index 594ae81a3..48dff2329 100644
--- a/lib/getdate.c.cvs
+++ b/lib/getdate.c.cvs
@@ -47,6 +47,11 @@
#define YYDEBUG 0
#endif
+#ifndef YYSTACK_USE_ALLOCA
+ /* to satisfy gcc -Wundef, we set this to 0 */
+#define YYSTACK_USE_ALLOCA 0
+#endif
+
/* Since the code of getdate.y is not included in the Emacs executable
itself, there is no need to #define static in this file. Even if
the code were included in the Emacs executable, it probably
@@ -1758,7 +1763,7 @@ ToHour (Hours, Meridian)
default:
abort ();
}
- /* NOTREACHED */
+ /* NOTREACHED - but make gcc happy! */
}
static int