[PATCH 5/5] ddraw: Avoid VOID.

Henri Verbeet hverbeet at codeweavers.com
Mon Sep 23 03:26:48 CDT 2013


---
 dlls/ddraw/tests/d3d.c |    3 ++-
 include/ddrawgdi.h     |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c
index 0ab3b06..042d2d8 100644
--- a/dlls/ddraw/tests/d3d.c
+++ b/dlls/ddraw/tests/d3d.c
@@ -511,7 +511,8 @@ static void LimitTest(void)
     IDirectDrawSurface7_Release(pTexture);
 }
 
-static HRESULT WINAPI enumDevicesCallback(GUID *Guid,LPSTR DeviceDescription,LPSTR DeviceName, D3DDEVICEDESC *hal, D3DDEVICEDESC *hel, VOID *ctx)
+static HRESULT WINAPI enumDevicesCallback(GUID *Guid, char *DeviceDescription,
+        char *DeviceName, D3DDEVICEDESC *hal, D3DDEVICEDESC *hel, void *ctx)
 {
     UINT ver = *((UINT *) ctx);
     if(IsEqualGUID(&IID_IDirect3DRGBDevice, Guid))
diff --git a/include/ddrawgdi.h b/include/ddrawgdi.h
index 9aea733..4b78702 100644
--- a/include/ddrawgdi.h
+++ b/include/ddrawgdi.h
@@ -27,7 +27,7 @@ extern "C" {
 
 #define DdQueryDisplaySettingsUniqueness    GdiEntry13
 
-ULONG APIENTRY DdQueryDisplaySettingsUniqueness(VOID);
+ULONG APIENTRY DdQueryDisplaySettingsUniqueness(void);
 
 #ifdef __cplusplus
 }
-- 
1.7.10.4




More information about the wine-patches mailing list