Remove extern "C" from internal headers
[lttng-tools.git] / src / common / daemonize.h
index 8590779c27c3b62d1f2e5e3dced53a57914b4666..2c88f06b7ddaa1dd1ac9224997e220e0dda8f3cb 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
@@ -29,8 +25,4 @@ extern "C" {
 int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
                int close_fds);
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif /* LTTNG_DAEMONIZE_H */
This page took 0.022897 seconds and 4 git commands to generate.