From 537fc529ffe3d715bb918b254450027f2383878b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 15 Apr 2014 23:31:52 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/fake_w32gdi.c | 4 ++-- src/fake_w32gdi.h | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/fake_w32gdi.c b/src/fake_w32gdi.c index de768e7..c11bd82 100644 --- a/src/fake_w32gdi.c +++ b/src/fake_w32gdi.c @@ -118,7 +118,7 @@ BOOL GetDeviceGammaRamp(HDC hDC, LPVOID lpRamp) /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd183490(v=vs.85).aspx */ -HDC CreateDC(LPCTSTR lpszDriver, LPCTSTR lpszDevice, void *lpszOutput, void *lpInitData) +HDC CreateDC(LPCTSTR lpszDriver, LPCTSTR lpszDevice, void* lpszOutput, void* lpInitData) { int crtc_index; @@ -132,7 +132,7 @@ HDC CreateDC(LPCTSTR lpszDriver, LPCTSTR lpszDevice, void *lpszOutput, void *lpI if (dc_count == 0) { - xcb_generic_error_t *error; + xcb_generic_error_t* error; xcb_screen_iterator_t iter; xcb_randr_get_screen_resources_current_cookie_t res_cookie; diff --git a/src/fake_w32gdi.h b/src/fake_w32gdi.h index 7347caf..e0b9d59 100644 --- a/src/fake_w32gdi.h +++ b/src/fake_w32gdi.h @@ -24,10 +24,10 @@ typedef uint16_t WORD; typedef uint32_t DWORD; typedef int BOOL; -typedef void *HDC; -typedef void *HWND; -typedef void *LPVOID; -typedef const char *LPCTSTR; +typedef void* HDC; +typedef void* HWND; +typedef void* LPVOID; +typedef const char* LPCTSTR; typedef char TCHAR; #define TRUE 1 #define FALSE 0 @@ -53,7 +53,7 @@ BOOL GetDeviceGammaRamp(HDC hDC, LPVOID lpRamp); /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd183490(v=vs.85).aspx */ -HDC CreateDC(LPCTSTR lpszDriver, LPCTSTR lpszDevice, void *lpszOutput, void *lpInitData); +HDC CreateDC(LPCTSTR lpszDriver, LPCTSTR lpszDevice, void* lpszOutput, void* lpInitData); #define TEXT(X) ((LPCTSTR)(X)) /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd183569(v=vs.85).aspx */ @@ -62,7 +62,7 @@ typedef struct { TCHAR DeviceName[32]; DWORD StateFlags; } DISPLAY_DEVICE; -typedef DISPLAY_DEVICE *PDISPLAY_DEVICE; +typedef DISPLAY_DEVICE* PDISPLAY_DEVICE; #define DISPLAY_DEVICE_ACTIVE 1 /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd162609(v=vs.85).aspx */ -- cgit v1.2.3-70-g09d2