From e02de5ff16fc554ab35f42bbce6bc835a6952001 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 23 Sep 2013 10:26:48 +0200 Subject: [PATCH] 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 0ab3b066dc5..042d2d8a33c 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 9aea733df68..4b787022ebc 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 }