chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
api: add C++ guards
[elogind.git]
/
src
/
systemd
/
sd-bus-vtable.h
diff --git
a/src/systemd/sd-bus-vtable.h
b/src/systemd/sd-bus-vtable.h
index 82e50d24c83f7f93951eda52fd3172c5b6176e2c..d1642bae5ec69fae0fc41bb8d74f55c1bf2d71ca 100644
(file)
--- a/
src/systemd/sd-bus-vtable.h
+++ b/
src/systemd/sd-bus-vtable.h
@@
-22,6
+22,10
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct sd_bus_vtable sd_bus_vtable;
#include "sd-bus.h"
@@
-124,4
+128,8
@@
struct sd_bus_vtable {
.type = _SD_BUS_VTABLE_END, \
}
+#ifdef __cplusplus
+}
+#endif
+
#endif