summaryrefslogtreecommitdiff
path: root/keysyms
diff options
context:
space:
mode:
authorTORRI Vincent <torri@doursse.(none)>2006-06-08 07:02:15 +0200
committerTORRI Vincent <torri@doursse.(none)>2006-06-08 07:02:15 +0200
commit9fdcbb32ddbf88950969dd4de0cb03dbb74b4db0 (patch)
treebedd55cf5182fb044189918d7c8485adc31df40e /keysyms
parent08c332afc1d9ee1db178a4774106e162ca75d239 (diff)
fix compilation with c++ compilers. Remove some trailing spaces
Diffstat (limited to 'keysyms')
-rw-r--r--keysyms/xcb_keysyms.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keysyms/xcb_keysyms.h b/keysyms/xcb_keysyms.h
index b5ef9f2..ace0a95 100644
--- a/keysyms/xcb_keysyms.h
+++ b/keysyms/xcb_keysyms.h
@@ -1,8 +1,14 @@
#ifndef __XCB_KEYSYMS_H__
#define __XCB_KEYSYMS_H__
+
#include <X11/XCB/xcb.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
typedef struct _XCBKeySymbols XCBKeySymbols;
/* enumeration for col parameter? */
@@ -54,4 +60,9 @@ int XCBIsMiscFunctionKey (XCBKEYSYM keysym);
int XCBIsModifierKey (XCBKEYSYM keysym);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* __XCB_KEYSYMS_H__ */