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 | 24c4d5b06d231785db01500360c26815d8fe4d15 (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/win32.cpp | |
parent | 36bb92ae241403d61dc7a3e5a1696b615be61395 (diff) | |
download | openttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/win32.cpp')
-rw-r--r-- | src/win32.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/win32.cpp b/src/win32.cpp index 0c0e96139..63f1b26ae 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -100,11 +100,11 @@ static bool _expanded; static bool _did_emerg_save; static int _ident; -typedef struct DebugFileInfo { +struct DebugFileInfo { uint32 size; uint32 crc32; SYSTEMTIME file_time; -} DebugFileInfo; +}; static uint32 *_crc_table; @@ -230,14 +230,14 @@ static bool EmergencySave() /* Disable the crash-save submit code as it's not used */ #if 0 -typedef struct { +struct WinInetProcs { HINTERNET (WINAPI *InternetOpen)(LPCTSTR,DWORD, LPCTSTR, LPCTSTR, DWORD); HINTERNET (WINAPI *InternetConnect)(HINTERNET, LPCTSTR, INTERNET_PORT, LPCTSTR, LPCTSTR, DWORD, DWORD, DWORD); HINTERNET (WINAPI *HttpOpenRequest)(HINTERNET, LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR *, DWORD, DWORD); BOOL (WINAPI *HttpSendRequest)(HINTERNET, LPCTSTR, DWORD, LPVOID, DWORD); BOOL (WINAPI *InternetCloseHandle)(HINTERNET); BOOL (WINAPI *HttpQueryInfo)(HINTERNET, DWORD, LPVOID, LPDWORD, LPDWORD); -} WinInetProcs; +}; #define M(x) x "\0" #if defined(UNICODE) |