From 297f99e100bcede36d54b8f833756c73d70fd4a0 Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 4 May 2008 21:53:36 +0000 Subject: (svn r12944) -Codechange: use rev.h instead of externs at many places --- src/video/sdl_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video/sdl_v.cpp') diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index 6bf74488d..de9bbbfa4 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -9,6 +9,7 @@ #include "../gfx_func.h" #include "../sdl.h" #include "../variables.h" +#include "../rev.h" #include "../blitter/factory.hpp" #include "../network/network.h" #include "../core/math_func.hpp" @@ -186,7 +187,6 @@ static void GetAvailableVideoMode(int *w, int *h) static bool CreateMainSurface(int w, int h) { - extern const char _openttd_revision[]; SDL_Surface *newscreen, *icon; char caption[50]; int bpp = BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth(); -- cgit v1.2.3-54-g00ecf