Build fix: Missing message in LTTNG_DEPRECATED invocation
[lttng-tools.git] / src / common / daemonize.c
index 594cc58155b59608801d355ec3f419e0d17893c6..16af5a3f78ccec5da76033a48a7d0a04bd0c38f2 100644 (file)
 #include <common/daemonize.h>
 #include <common/error.h>
 
-LTTNG_HIDDEN
 int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
                int close_fds)
 {
-       int ret;
        pid_t pid;
 
        /* Get parent pid of this process. */
@@ -35,6 +33,7 @@ int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
        } else if (pid == 0) {
                int fd;
                pid_t sid;
+               int ret;
 
                /* Child */
 
This page took 0.033444 seconds and 4 git commands to generate.