X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fdaemonize.c;h=40cef3840000a9a44848d779f531a9ea400ae983;hp=b9d0b03faeed08c100ec0d0587030e30817c1d1a;hb=d4ad24a314cea1020c7cd08b27670f5da495e38d;hpb=6c1c0768320135c6936c371b09731851b508c023 diff --git a/src/common/daemonize.c b/src/common/daemonize.c index b9d0b03fa..40cef3840 100644 --- a/src/common/daemonize.c +++ b/src/common/daemonize.c @@ -16,19 +16,19 @@ * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include -#include +#include #include -#include +#include #include #include -#include -#include +#include +#include +LTTNG_HIDDEN int lttng_daemonize(pid_t *child_ppid, int *completion_flag, int close_fds) { @@ -118,7 +118,7 @@ int lttng_daemonize(pid_t *child_ppid, int *completion_flag, /* * From this point on, the parent can exit and the child - * is now an operationnal session daemon ready to serve + * is now an operational session daemon ready to serve * clients and applications. */ exit(EXIT_SUCCESS);