summaryrefslogtreecommitdiff
path: root/src/date.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
commit24c4d5b06d231785db01500360c26815d8fe4d15 (patch)
tree757477dbdc02025cc29690a4e66e40f872cab02b /src/date.h
parent36bb92ae241403d61dc7a3e5a1696b615be61395 (diff)
downloadopenttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/date.h')
-rw-r--r--src/date.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/date.h b/src/date.h
index c954d47d5..3e279f7e6 100644
--- a/src/date.h
+++ b/src/date.h
@@ -44,11 +44,11 @@ typedef uint8 Month;
typedef uint8 Day;
typedef uint16 DateFract;
-typedef struct YearMonthDay {
+struct YearMonthDay {
Year year;
Month month;
Day day;
-} YearMonthDay;
+};
extern Year _cur_year;
extern Month _cur_month;