projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run clang-format on the whole tree
[lttng-tools.git]
/
src
/
common
/
daemonize.cpp
diff --git
a/src/common/daemonize.cpp
b/src/common/daemonize.cpp
index 0ed35556e81a52a87c8a94e8295e10a1fd1f3eca..489f0144c8fbc26ce489d70efbaefdeb71854f04 100644
(file)
--- a/
src/common/daemonize.cpp
+++ b/
src/common/daemonize.cpp
@@
-7,19
+7,17
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
-#include <unistd.h>
#include <common/compat/paths.hpp>
#include <common/compat/paths.hpp>
+#include <common/daemonize.hpp>
+#include <common/error.hpp>
+
#include <fcntl.h>
#include <fcntl.h>
-#include <sys/wait.h>
#include <stdlib.h>
#include <stdlib.h>
-
+#include <sys/wait.h>
+#include <unistd.h>
#include <urcu/system.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;
{
pid_t pid;
This page took
0.023174 seconds
and
4
git commands to generate.