$OpenBSD: patch-src_getdate_y,v 1.2 2004/04/09 10:20:47 sturm Exp $
--- src/getdate.y.orig	2004-01-25 21:22:06.000000000 +0100
+++ src/getdate.y	2004-04-08 19:39:09.000000000 +0200
@@ -81,6 +81,14 @@
    host does not conform to Posix.  */
 #define ISDIGIT(c) ((unsigned) (c) - '0' <= 9)
 
+/*
+**  Meridian:  am, pm, or 24-hour style.
+*/
+typedef enum _MERIDIAN {
+    MERam, MERpm, MER24
+} MERIDIAN;
+
+
 #include "getdate.h"
 
 /* Some old versions of bison generate parsers that use bcopy.
@@ -159,14 +167,6 @@ typedef struct _TABLE {
 
 
 /*
-**  Meridian:  am, pm, or 24-hour style.
-*/
-typedef enum _MERIDIAN {
-    MERam, MERpm, MER24
-} MERIDIAN;
-
-
-/*
 **  Global variables.  We could get rid of most of these by using a good
 **  union as the yacc stack.  (This routine was originally written before
 **  yacc had the %union construct.)  Maybe someday; right now we only use
