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 to all headers
[elogind.git]
/
src
/
systemd
/
sd-login.h
diff --git
a/src/systemd/sd-login.h
b/src/systemd/sd-login.h
index 7d76f9a44ed3553b635da72960e9bd13a3a7074c..7746c742ffd9123de089ba21807b70e37497c0bf 100644
(file)
--- a/
src/systemd/sd-login.h
+++ b/
src/systemd/sd-login.h
@@
-24,6
+24,10
@@
#include <sys/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* A few points:
*
@@
-125,4
+129,8
@@
int sd_login_monitor_flush(sd_login_monitor *m);
/* Get FD from monitor */
int sd_login_monitor_get_fd(sd_login_monitor *m);
+#ifdef __cplusplus
+}
+#endif
+
#endif