X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fdaemonize.h;h=bc64d769a9717ba0ababe16636d425b4f52d26ce;hp=345c5a5e60160bd6df4791387c535555be329184;hb=287a512f2b868c16132b894a8143a5faf0379ca8;hpb=99ed9c436a035b26c64b8efcbaec8b3d91d754d6 diff --git a/src/common/daemonize.h b/src/common/daemonize.h index 345c5a5e6..bc64d769a 100644 --- a/src/common/daemonize.h +++ b/src/common/daemonize.h @@ -20,6 +20,7 @@ */ #include +#include /* * Daemonize this process by forking and making the parent wait for the child @@ -31,6 +32,7 @@ * * Return 0 on success else -1 on error. */ +LTTNG_HIDDEN int lttng_daemonize(pid_t *child_ppid, int *completion_flag, int close_fds);