From: Jérémie Galarneau Date: Thu, 17 Sep 2015 16:50:02 +0000 (-0400) Subject: Fix: Hide daemonize symbols in common lib X-Git-Tag: v2.7.0-rc2~16 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d0821bd6de1c842f497a6de5ab5846049925d926;p=lttng-tools.git Fix: Hide daemonize symbols in common lib Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/daemonize.c b/src/common/daemonize.c index b9d0b03fa..3a006134b 100644 --- a/src/common/daemonize.c +++ b/src/common/daemonize.c @@ -29,6 +29,7 @@ #include #include +LTTNG_HIDDEN int lttng_daemonize(pid_t *child_ppid, int *completion_flag, int close_fds) { diff --git a/src/common/daemonize.h b/src/common/daemonize.h index 345c5a5e6..bc64d769a 100644 --- a/src/common/daemonize.h +++ b/src/common/daemonize.h @@ -20,6 +20,7 @@ */ #include +#include /* * Daemonize this process by forking and making the parent wait for the child @@ -31,6 +32,7 @@ * * Return 0 on success else -1 on error. */ +LTTNG_HIDDEN int lttng_daemonize(pid_t *child_ppid, int *completion_flag, int close_fds);