diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 979ccd45baa9a38169661ba379a341cae8619c3b (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/driver.cpp | |
parent | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (diff) | |
download | openttd-979ccd45baa9a38169661ba379a341cae8619c3b.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/driver.cpp')
-rw-r--r-- | src/driver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/driver.cpp b/src/driver.cpp index bc02df745..c134fe903 100644 --- a/src/driver.cpp +++ b/src/driver.cpp @@ -30,17 +30,17 @@ #include "video/cocoa_v.h" #include "video/win32_v.h" -typedef struct DriverDesc { +struct DriverDesc { const char* name; const char* longname; const HalCommonDriver* drv; -} DriverDesc; +}; -typedef struct DriverClass { +struct DriverClass { const DriverDesc *descs; const char *name; const HalCommonDriver** drv; -} DriverClass; +}; #define M(x, y, z) { x, y, (const HalCommonDriver *)(void *)z } |