summaryrefslogtreecommitdiff
path: root/src/video/cocoa
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-05-04 21:53:36 +0000
committersmatz <smatz@openttd.org>2008-05-04 21:53:36 +0000
commit297f99e100bcede36d54b8f833756c73d70fd4a0 (patch)
tree741c48c433316b11af1a790772deb3a4078fe47c /src/video/cocoa
parent0b8b5d1f3b5f45374d1e43390777b2de51fb7728 (diff)
downloadopenttd-297f99e100bcede36d54b8f833756c73d70fd4a0.tar.xz
(svn r12944) -Codechange: use rev.h instead of externs at many places
Diffstat (limited to 'src/video/cocoa')
-rw-r--r--src/video/cocoa/wnd_quartz.mm4
-rw-r--r--src/video/cocoa/wnd_quickdraw.mm5
2 files changed, 2 insertions, 7 deletions
diff --git a/src/video/cocoa/wnd_quartz.mm b/src/video/cocoa/wnd_quartz.mm
index dfb59c31f..a85ce283b 100644
--- a/src/video/cocoa/wnd_quartz.mm
+++ b/src/video/cocoa/wnd_quartz.mm
@@ -39,6 +39,7 @@
#include "../../stdafx.h"
#include "../../debug.h"
+#include "../../rev.h"
#include "../../core/geometry_type.hpp"
#include "cocoa_v.h"
#include "../../core/math_func.hpp"
@@ -410,9 +411,6 @@ static CGColorSpaceRef QZ_GetCorrectColorSpace()
@end
-extern const char _openttd_revision[];
-
-
void WindowQuartzSubdriver::GetDeviceInfo()
{
CFDictionaryRef cur_mode;
diff --git a/src/video/cocoa/wnd_quickdraw.mm b/src/video/cocoa/wnd_quickdraw.mm
index 6c30900d0..df4411db5 100644
--- a/src/video/cocoa/wnd_quickdraw.mm
+++ b/src/video/cocoa/wnd_quickdraw.mm
@@ -39,6 +39,7 @@
#include "../../stdafx.h"
#include "../../debug.h"
+#include "../../rev.h"
#include "../../core/geometry_type.hpp"
#include "cocoa_v.h"
#include "../../core/math_func.hpp"
@@ -331,10 +332,6 @@ static bool _resize_icon[] = {
};
-
-extern const char _openttd_revision[];
-
-
void WindowQuickdrawSubdriver::GetDeviceInfo()
{
CFDictionaryRef cur_mode;