diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-12-24 16:55:35 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-12-24 16:55:35 +0000 |
commit | 875b71e7f35c15b6f86c9b8183d24aa2a941123d (patch) | |
tree | 99e2851fd659deb09ec531140e7cfa8fccefd8d3 /src/libw32dll/wine/driver.c | |
parent | 94c8fa4b865b80a1113ece12d8596dcaf647aac0 (diff) | |
download | xine-lib-875b71e7f35c15b6f86c9b8183d24aa2a941123d.tar.gz xine-lib-875b71e7f35c15b6f86c9b8183d24aa2a941123d.tar.bz2 |
time for some Christmas presents...
libw32 compiles here without a single compiler warning
CVS patchset: 5946
CVS date: 2003/12/24 16:55:35
Diffstat (limited to 'src/libw32dll/wine/driver.c')
-rw-r--r-- | src/libw32dll/wine/driver.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libw32dll/wine/driver.c b/src/libw32dll/wine/driver.c index 7720a4975..923622aaa 100644 --- a/src/libw32dll/wine/driver.c +++ b/src/libw32dll/wine/driver.c @@ -15,8 +15,8 @@ #include "vfw.h" #include "registry.h" #include "ldt_keeper.h" - -extern char* win32_def_path; +#include "ext.h" +#include "debugtools.h" #if 1 @@ -52,6 +52,7 @@ extern char* win32_def_path; "pop %%ebx\n\t"::) #endif +#if 0 static int needs_free=0; void SetCodecPath(const char* path) { @@ -66,6 +67,7 @@ void SetCodecPath(const char* path) strcpy(win32_def_path, path); needs_free=1; } +#endif static DWORD dwDrvID = 0; @@ -130,7 +132,7 @@ void DrvClose(HDRVR hDriver) HDRVR DrvOpen(LPARAM lParam2) { NPDRVR hDriver; - int i; +// int i; char unknown[0x124]; const char* filename = (const char*) ((ICOPEN*) lParam2)->pV1Reserved; |