projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bin: compile lttng-sessiond as C++
[lttng-tools.git]
/
src
/
common
/
runas.h
diff --git
a/src/common/runas.h
b/src/common/runas.h
index 406dfca2219220f86a91d0cae26017ac82f3e9e1..ca084102e4ae8c17d424465c97016fb3c03a3698 100644
(file)
--- a/
src/common/runas.h
+++ b/
src/common/runas.h
@@
-16,6
+16,10
@@
#include <common/macros.h>
#include <common/sessiond-comm/sessiond-comm.h>
#include <common/macros.h>
#include <common/sessiond-comm/sessiond-comm.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* The run-as process is launched by forking without an exec*() call. This means
* that any resource allocated before the run-as worker is launched should be
/*
* The run-as process is launched by forking without an exec*() call. This means
* that any resource allocated before the run-as worker is launched should be
@@
-61,4
+65,8
@@
int run_as_create_worker(const char *procname,
post_fork_cleanup_cb clean_up_func, void *clean_up_user_data);
void run_as_destroy_worker(void);
post_fork_cleanup_cb clean_up_func, void *clean_up_user_data);
void run_as_destroy_worker(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _RUNAS_H */
#endif /* _RUNAS_H */
This page took
0.02516 seconds
and
4
git commands to generate.