Henri Verbeet : ddraw: Avoid VOID.
Alexandre Julliard
julliard at winehq.org
Tue Sep 24 03:22:02 CDT 2013
Module: wine
Branch: master
Commit: e02de5ff16fc554ab35f42bbce6bc835a6952001
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e02de5ff16fc554ab35f42bbce6bc835a6952001
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Mon Sep 23 10:26:48 2013 +0200
ddraw: Avoid VOID.
---
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
}
More information about the wine-cvs
mailing list