diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-20 17:16:39 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-20 17:16:39 +0000 |
commit | 3bbe897e247d128cf63f1fad665fdfc086bab5ab (patch) | |
tree | 567f6ff88d6dfa186a9184676793512b85743c22 /loader/win32.c | |
parent | 8fb418635ee3511971ab3bc923b2f95228669906 (diff) | |
download | mpv-3bbe897e247d128cf63f1fad665fdfc086bab5ab.tar.bz2 mpv-3bbe897e247d128cf63f1fad665fdfc086bab5ab.tar.xz |
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
capital letter are reserved for the system, those starting with _ are
reserved at the file level.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25822 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/win32.c')
-rw-r--r-- | loader/win32.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/loader/win32.c b/loader/win32.c index 09bd300edc..5478b342de 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -2800,16 +2800,16 @@ static int WINAPI expWritePrivateProfileStringA(const char* appname, return 0; } -unsigned int _GetPrivateProfileIntA(const char* appname, const char* keyname, INT default_value, const char* filename) +unsigned int GetPrivateProfileIntA_(const char* appname, const char* keyname, INT default_value, const char* filename) { return expGetPrivateProfileIntA(appname, keyname, default_value, filename); } -int _GetPrivateProfileStringA(const char* appname, const char* keyname, +int GetPrivateProfileStringA_(const char* appname, const char* keyname, const char* def_val, char* dest, unsigned int len, const char* filename) { return expGetPrivateProfileStringA(appname, keyname, def_val, dest, len, filename); } -int _WritePrivateProfileStringA(const char* appname, const char* keyname, +int WritePrivateProfileStringA_(const char* appname, const char* keyname, const char* string, const char* filename) { return expWritePrivateProfileStringA(appname, keyname, string, filename); @@ -2817,9 +2817,9 @@ int _WritePrivateProfileStringA(const char* appname, const char* keyname, -static int WINAPI expDefDriverProc(int _private, int id, int msg, int arg1, int arg2) +static int WINAPI expDefDriverProc(int private, int id, int msg, int arg1, int arg2) { - dbgprintf("DefDriverProc(0x%x, 0x%x, 0x%x, 0x%x, 0x%x) => 0\n", _private, id, msg, arg1, arg2); + dbgprintf("DefDriverProc(0x%x, 0x%x, 0x%x, 0x%x, 0x%x) => 0\n", private, id, msg, arg1, arg2); return 0; } @@ -3038,7 +3038,7 @@ static int WINAPI expGetSystemPaletteEntries(int hdc, int iStartIndex, int nEntr } /* - typedef struct _TIME_ZONE_INFORMATION { + typedef struct TIME_ZONE_INFORMATION { long Bias; char StandardName[32]; SYSTEMTIME StandardDate; @@ -4004,8 +4004,8 @@ static int exp_initterm(int v1, int v2) } #else /* merged from wine - 2002.04.21 */ -typedef void (*_INITTERMFUNC)(); -static int exp_initterm(_INITTERMFUNC *start, _INITTERMFUNC *end) +typedef void (*INITTERMFUNC)(); +static int exp_initterm(INITTERMFUNC *start, INITTERMFUNC *end) { dbgprintf("_initterm(0x%x, 0x%x) %p\n", start, end, *start); while (start < end) |