X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fdaemonize.h;fp=src%2Fcommon%2Fdaemonize.h;h=2c88f06b7ddaa1dd1ac9224997e220e0dda8f3cb;hp=8590779c27c3b62d1f2e5e3dced53a57914b4666;hb=b66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19;hpb=729c1fec5976af17fded2f026725a08ef1924290 diff --git a/src/common/daemonize.h b/src/common/daemonize.h index 8590779c2..2c88f06b7 100644 --- a/src/common/daemonize.h +++ b/src/common/daemonize.h @@ -12,10 +12,6 @@ #include #include -#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 */