X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fdaemonize.c;h=4b4531d53613f792d0bf410bc2048085cee9db2e;hb=890d8fe47755c3bad936389cf48ffa141cff41c9;hp=b9d0b03faeed08c100ec0d0587030e30817c1d1a;hpb=6c1c0768320135c6936c371b09731851b508c023;p=lttng-tools.git diff --git a/src/common/daemonize.c b/src/common/daemonize.c index b9d0b03fa..4b4531d53 100644 --- a/src/common/daemonize.c +++ b/src/common/daemonize.c @@ -16,7 +16,6 @@ * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include #include @@ -29,6 +28,7 @@ #include #include +LTTNG_HIDDEN int lttng_daemonize(pid_t *child_ppid, int *completion_flag, int close_fds) {