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
commit89a8dc8cf7dd41a7c252dd91fc9c323651cfc95d (patch)
tree741c48c433316b11af1a790772deb3a4078fe47c /src/video/cocoa
parent8fe14f716238d9e9863a7216664dc4ce038370f6 (diff)
downloadopenttd-89a8dc8cf7dd41a7c252dd91fc9c323651cfc95d.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;