]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/log.h
tree-wide: s/__unused/__lxc_unused/g
[mirror_lxc.git] / src / lxc / log.h
index b5df492fecc0bb686b2c86b1c33f326bcebc2338..db4129493ddecda3f88dcfbcf52ba8fe97a32916 100644 (file)
@@ -238,10 +238,10 @@ static inline void __lxc_log(const struct lxc_log_category *category,
  */
 #define lxc_log_priority_define(acategory, LEVEL)                              \
                                                                                \
-__unused __attribute__ ((format (printf, 2, 3)))                               \
+__lxc_unused __attribute__ ((format (printf, 2, 3)))                           \
 static inline void LXC_##LEVEL(struct lxc_log_locinfo *, const char *, ...);   \
                                                                                \
-__unused static inline void LXC_##LEVEL(struct lxc_log_locinfo* locinfo,       \
+__lxc_unused static inline void LXC_##LEVEL(struct lxc_log_locinfo* locinfo,   \
                                           const char* format, ...)             \
 {                                                                              \
        if (lxc_log_priority_is_enabled(acategory, LXC_LOG_LEVEL_##LEVEL)) {    \