Run clang-format on the whole tree
[lttng-tools.git] / src / common / daemonize.cpp
index 0ed35556e81a52a87c8a94e8295e10a1fd1f3eca..489f0144c8fbc26ce489d70efbaefdeb71854f04 100644 (file)
@@ -7,19 +7,17 @@
  */
 
 #define _LGPL_SOURCE
-#include <unistd.h>
 #include <common/compat/paths.hpp>
+#include <common/daemonize.hpp>
+#include <common/error.hpp>
+
 #include <fcntl.h>
-#include <sys/wait.h>
 #include <stdlib.h>
-
+#include <sys/wait.h>
+#include <unistd.h>
 #include <urcu/system.h>
 
-#include <common/daemonize.hpp>
-#include <common/error.hpp>
-
-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)
 {
        pid_t pid;
 
This page took 0.022874 seconds and 4 git commands to generate.