Fix: Hide daemonize symbols in common lib
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Sep 2015 16:50:02 +0000 (12:50 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Sep 2015 16:50:02 +0000 (12:50 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/daemonize.c
src/common/daemonize.h

index b9d0b03faeed08c100ec0d0587030e30817c1d1a..3a006134b2bb9f5902b531b84c7d263315f81ae9 100644 (file)
@@ -29,6 +29,7 @@
 #include <src/common/daemonize.h>
 #include <src/common/error.h>
 
+LTTNG_HIDDEN
 int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
                int close_fds)
 {
index 345c5a5e60160bd6df4791387c535555be329184..bc64d769a9717ba0ababe16636d425b4f52d26ce 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include <unistd.h>
+#include <common/macros.h>
 
 /*
  * 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);
 
This page took 0.026291 seconds and 4 git commands to generate.