chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
keymap: Add support for Lenovo v480 touchpad toggle hotkey.
[elogind.git]
/
src
/
systemd
/
sd-id128.h
diff --git
a/src/systemd/sd-id128.h
b/src/systemd/sd-id128.h
index 22fcb932719fe508a8792785905b027150a7f214..af2841eb776675d8472eb12ca3a34c32825c9a9a 100644
(file)
--- a/
src/systemd/sd-id128.h
+++ b/
src/systemd/sd-id128.h
@@
-26,6
+26,10
@@
#include <stdbool.h>
#include <string.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef union sd_id128 sd_id128_t;
union sd_id128 {
@@
-58,4
+62,8
@@
static inline bool sd_id128_equal(sd_id128_t a, sd_id128_t b) {
return memcmp(&a, &b, 16) == 0;
}
+#ifdef __cplusplus
+}
+#endif
+
#endif