projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
109fe70
)
x11: add missing #ifdef __cplusplus to header
author
Ran Benita
<ran234@gmail.com>
Tue, 4 Feb 2014 20:18:12 +0000
(22:18 +0200)
committer
Ran Benita
<ran234@gmail.com>
Tue, 4 Feb 2014 20:18:12 +0000
(22:18 +0200)
Signed-off-by: Ran Benita <ran234@gmail.com>
xkbcommon/xkbcommon-x11.h
patch
|
blob
|
history
diff --git
a/xkbcommon/xkbcommon-x11.h
b/xkbcommon/xkbcommon-x11.h
index
4ec9b64
..
d9e2a4f
100644
(file)
--- a/
xkbcommon/xkbcommon-x11.h
+++ b/
xkbcommon/xkbcommon-x11.h
@@
-27,6
+27,10
@@
#include <xcb/xcb.h>
#include <xkbcommon/xkbcommon.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @file
* libxkbcommon-x11 API - Additional X11 support for xkbcommon.
@@
-163,4
+167,8
@@
xkb_x11_state_new_from_device(struct xkb_keymap *keymap,
/** @} */
+#ifdef __cplusplus
+} /* extern "C" */
#endif
+
+#endif /* _XKBCOMMON_X11_H */