From d5d516999a7f74b8906bd759533ba14fb40e5ae4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 17 Sep 2015 12:50:02 -0400 Subject: [PATCH] Fix: Hide daemonize symbols in common lib MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/common/daemonize.c | 1 + src/common/daemonize.h | 2 ++ 2 files changed, 3 insertions(+) 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); -- 2.34.1