summaryrefslogtreecommitdiff
path: root/XKBsrv.h
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-04-06 17:54:12 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-04-06 17:54:12 -0700
commit5273e7bc22cc7f11f2461ba1f5f30cbdecda1289 (patch)
tree08f3f3a031c05e8c199b54e12aaf47c2191cc72c /XKBsrv.h
parent3baa0be057f2bf2e2f0f049c0dded4a93c68819e (diff)
Made some defines typedefs for better compatability
Diffstat (limited to 'XKBsrv.h')
-rw-r--r--XKBsrv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/XKBsrv.h b/XKBsrv.h
index 49630af..26a4ed8 100644
--- a/XKBsrv.h
+++ b/XKBsrv.h
@@ -330,9 +330,9 @@ extern int DeviceButtonPress,DeviceButtonRelease;
#undef IsKeypadKey
#define IsKeypadKey(s) XkbKSIsKeypad(s)
-#define Status int
-#define XPointer pointer
-#define Display struct _XDisplay
+typedef int Status;
+typedef pointer XPointer;
+typedef struct _XDisplay Display;
#ifndef True
#define True 1