From: Christian Brauner Date: Wed, 22 Jul 2020 10:04:52 +0000 (+0200) Subject: log: don't break logging by hiding symbols X-Git-Tag: lxc-5.0.0~383^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3496%2Fhead;p=thirdparty%2Flxc.git log: don't break logging by hiding symbols Signed-off-by: Christian Brauner --- 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);