common: compile libconfig as C++
[lttng-tools.git] / src / common / daemonize.h
index c3fb212c921311623b10089a196dcc9576184cbc..8590779c27c3b62d1f2e5e3dced53a57914b4666 100644 (file)
 #include <unistd.h>
 #include <common/macros.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Daemonize this process by forking and making the parent wait for the child
  * to signal it indicating readiness. Once received, the parent successfully
  *
  * Return 0 on success else -1 on error.
  */
-LTTNG_HIDDEN
 int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
                int close_fds);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_DAEMONIZE_H */
This page took 0.023234 seconds and 4 git commands to generate.