projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reference count ltt_session objects
[lttng-tools.git]
/
src
/
common
/
daemonize.c
diff --git
a/src/common/daemonize.c
b/src/common/daemonize.c
index a8e290603091328e23012d8d39ffda79574d0231..88ec9f13472a88aba1f49ae07a97ced16806b5dd 100644
(file)
--- a/
src/common/daemonize.c
+++ b/
src/common/daemonize.c
@@
-16,18
+16,19
@@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _
GNU
_SOURCE
+#define _
LGPL
_SOURCE
#include <unistd.h>
#include <unistd.h>
-#include <paths.h>
+#include <
common/compat/
paths.h>
#include <fcntl.h>
#include <fcntl.h>
-#include <wait.h>
+#include <
sys/
wait.h>
#include <stdlib.h>
#include <urcu/system.h>
#include <stdlib.h>
#include <urcu/system.h>
-#include <
src/
common/daemonize.h>
-#include <
src/
common/error.h>
+#include <common/daemonize.h>
+#include <common/error.h>
+LTTNG_HIDDEN
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)
{
This page took
0.027514 seconds
and
5
git commands to generate.