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.8.0-rc1~330 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=d5d516999a7f74b8906bd759533ba14fb40e5ae4 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);