summaryrefslogtreecommitdiff
path: root/src/sdl.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/sdl.h
parent36bb92ae241403d61dc7a3e5a1696b615be61395 (diff)
downloadopenttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/sdl.h')
-rw-r--r--src/sdl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdl.h b/src/sdl.h
index 38e7f551b..06549336d 100644
--- a/src/sdl.h
+++ b/src/sdl.h
@@ -13,7 +13,7 @@ void SdlClose(uint32 x);
#ifdef DYNAMICALLY_LOADED_SDL
#include <SDL.h>
- typedef struct SDLProcs {
+ struct SDLProcs {
int (SDLCALL *SDL_Init)(Uint32);
int (SDLCALL *SDL_InitSubSystem)(Uint32);
char *(SDLCALL *SDL_GetError)();
@@ -46,7 +46,7 @@ void SdlClose(uint32 x);
int (SDLCALL *SDL_SetColorKey)(SDL_Surface *, Uint32, Uint32);
void (SDLCALL *SDL_WM_SetIcon)(SDL_Surface *, Uint8 *);
Uint32 (SDLCALL *SDL_MapRGB)(SDL_PixelFormat *, Uint8, Uint8, Uint8);
- } SDLProcs;
+ };
extern SDLProcs sdl_proc;