projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
format-cpp: run clang-format in parallel
[lttng-tools.git]
/
src
/
common
/
daemonize.cpp
diff --git
a/src/common/daemonize.cpp
b/src/common/daemonize.cpp
index 16af5a3f78ccec5da76033a48a7d0a04bd0c38f2..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.h>
+#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.h>
-#include <common/error.h>
-
-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.022915 seconds
and
4
git commands to generate.