openbsd-ports/net/gtk-gnutella/patches/patch-src_getdate_y
2004-09-20 20:12:11 +00:00

34 lines
688 B
Plaintext

$OpenBSD: patch-src_getdate_y,v 1.3 2004/09/20 20:12:11 sturm Exp $
--- src/getdate.y.orig Sat Jul 10 12:21:11 2004
+++ src/getdate.y Mon Sep 20 21:05:36 2004
@@ -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.
@@ -156,14 +164,6 @@ typedef struct _TABLE {
int type;
int value;
} TABLE;
-
-
-/*
-** Meridian: am, pm, or 24-hour style.
-*/
-typedef enum _MERIDIAN {
- MERam, MERpm, MER24
-} MERIDIAN;
/*