summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-15 23:31:52 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-15 23:31:52 +0200
commit537fc529ffe3d715bb918b254450027f2383878b (patch)
tree1d2c1604ae40f21c06cd3321e2b08c940df388b7 /src
parentadd fake_quartz.h (diff)
downloadblueshift-537fc529ffe3d715bb918b254450027f2383878b.tar.gz
blueshift-537fc529ffe3d715bb918b254450027f2383878b.tar.bz2
blueshift-537fc529ffe3d715bb918b254450027f2383878b.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/fake_w32gdi.c4
-rw-r--r--src/fake_w32gdi.h12
2 files changed, 8 insertions, 8 deletions
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 */