X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fdaemonize.hpp;h=9e39e2b19dbd81cfe65ee0db41de347aecde97e8;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hp=d1ec1cb424400382fde60e02928f5c40ee91b460;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b;p=lttng-tools.git diff --git a/src/common/daemonize.hpp b/src/common/daemonize.hpp index d1ec1cb42..9e39e2b19 100644 --- a/src/common/daemonize.hpp +++ b/src/common/daemonize.hpp @@ -9,9 +9,10 @@ * */ -#include #include +#include + /* * Daemonize this process by forking and making the parent wait for the child * to signal it indicating readiness. Once received, the parent successfully @@ -22,7 +23,6 @@ * * Return 0 on success else -1 on error. */ -int lttng_daemonize(pid_t *child_ppid, int *completion_flag, - int close_fds); +int lttng_daemonize(pid_t *child_ppid, int *completion_flag, int close_fds); #endif /* LTTNG_DAEMONIZE_H */