summaryrefslogtreecommitdiffstats
path: root/support/nfs/xlog.c
diff options
context:
space:
mode:
authorJustin Mitchell <jumitche@redhat.com>2017-09-28 14:18:35 -0400
committerSteve Dickson <steved@redhat.com>2017-10-26 08:50:08 -0400
commit745287cca2fad6dfe63290bb8053ffe86637c18b (patch)
treef171e22a27670ddb368fbb0345e27f547763a58f /support/nfs/xlog.c
parentd1392d80cdd6c40e36c965c6ff000e01a2ee1694 (diff)
downloadnfs-utils-745287cca2fad6dfe63290bb8053ffe86637c18b.tar.gz
nfs-utils-745287cca2fad6dfe63290bb8053ffe86637c18b.tar.xz
nfs-utils-745287cca2fad6dfe63290bb8053ffe86637c18b.zip
nfs-utils: split conffile to a separate convenience lib
To allow better reuse of the code we split conffile and xlog into their own separate convenience library, then merge it back so as to not create extra dependancies for everything Signed-off-by: Justin Mitchell <jumitche@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/xlog.c')
-rw-r--r--support/nfs/xlog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/nfs/xlog.c b/support/nfs/xlog.c
index c8e4263..f75a9ab 100644
--- a/support/nfs/xlog.c
+++ b/support/nfs/xlog.c
@@ -33,6 +33,8 @@
#undef VERBOSE_PRINTF
+#pragma GCC visibility push(hidden)
+
static int log_stderr = 1;
static int log_syslog = 1;
static int logging = 0; /* enable/disable DEBUG logs */