]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
log: don't break logging by hiding symbols 3496/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 22 Jul 2020 10:04:52 +0000 (12:04 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 23 Jul 2020 08:20:50 +0000 (10:20 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/log.h

index 0ddcfa20a53d012a561b09ae16f8d83b92545e6d..0361db40fadeb3b20164c70a88c3706d492f790c 100644 (file)
@@ -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);