projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docs: document safety of consumer_thread_is_ready access
[lttng-tools.git]
/
src
/
common
/
daemonize.c
diff --git
a/src/common/daemonize.c
b/src/common/daemonize.c
index b9d0b03faeed08c100ec0d0587030e30817c1d1a..300851bb3ca6e01a8b3d10fe824c8b2935172b0d 100644
(file)
--- a/
src/common/daemonize.c
+++ b/
src/common/daemonize.c
@@
-16,10
+16,9
@@
* 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>
#define _LGPL_SOURCE
#include <unistd.h>
-#include <paths.h>
+#include <
common/compat/
paths.h>
#include <fcntl.h>
#include <wait.h>
#include <stdlib.h>
#include <fcntl.h>
#include <wait.h>
#include <stdlib.h>
@@
-29,6
+28,7
@@
#include <src/common/daemonize.h>
#include <src/common/error.h>
#include <src/common/daemonize.h>
#include <src/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.023444 seconds
and
4
git commands to generate.