From 18780b9068e05c29629e1c346e906ca9e54c2331 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Wed, 22 Jul 2020 12:04:52 +0200 Subject: [PATCH] log: don't break logging by hiding symbols Signed-off-by: Christian Brauner --- src/lxc/log.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lxc/log.h b/src/lxc/log.h index 0ddcfa20a..0361db40f 100644 --- a/src/lxc/log.h +++ b/src/lxc/log.h @@ -85,7 +85,7 @@ struct lxc_log_category { }; #ifndef NO_LXC_CONF -__hidden extern int lxc_log_use_global_fd; +extern int lxc_log_use_global_fd; #endif /* @@ -278,8 +278,8 @@ __lxc_unused static inline void LXC_##LEVEL(struct lxc_log_locinfo* locinfo, \ * Helper macro to define and use static categories. */ #define lxc_log_category_define(name, parent) \ - __hidden extern struct lxc_log_category lxc_log_category_##parent; \ - __hidden struct lxc_log_category lxc_log_category_##name = { \ + extern struct lxc_log_category lxc_log_category_##parent; \ + struct lxc_log_category lxc_log_category_##name = { \ #name, \ LXC_LOG_LEVEL_NOTSET, \ NULL, \ @@ -561,7 +561,7 @@ __lxc_unused static inline void LXC_##LEVEL(struct lxc_log_locinfo* locinfo, \ __internal_ret__; \ }) -__hidden extern int lxc_log_fd; +extern int lxc_log_fd; __hidden extern int lxc_log_syslog(int facility); __hidden extern void lxc_log_syslog_enable(void); -- 2.47.2