summaryrefslogtreecommitdiff
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
commit49d8b819620863466954a50a20c659f3d77ed469 (patch)
treeb044dfd0a7c3aa2591359775e17ba027e22fce38
parentbe989492c6e672440dc98ffe04068e24d542f649 (diff)
fix compilation with c++ compilers. Remove some trailing spaces
-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__ */