logging: strip down and clean `log.h` and `log.c`
[babeltrace.git] / src / plugins / ctf / common / metadata / ctf-meta-resolve.cpp
index f498c50707509b9c18cace001505d4890ba60d3d..1f7ffe57c388d0930db9fdc843731c15980e8c17 100644 (file)
@@ -7,9 +7,6 @@
 
 #include <glib.h>
 #include <inttypes.h>
-#include <limits.h>
-#include <stdbool.h>
-#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 
 #define BT_COMP_LOG_SELF_COMP       (ctx->self_comp)
 #define BT_COMP_LOG_SELF_COMP_CLASS (ctx->self_comp_class)
-#define BT_LOG_OUTPUT_LEVEL         (ctx->log_level)
+#define BT_LOG_OUTPUT_LEVEL         ((enum bt_log_level) ctx->log_level)
 #define BT_LOG_TAG                  "PLUGIN/CTF/META/RESOLVE"
 #include "logging.hpp"
 #include "logging/comp-logging.h"
 
 #include "common/assert.h"
 #include "common/common.h"
-#include "common/macros.h"
 
 #include "ctf-meta-visitors.hpp"
 
This page took 0.032708 seconds and 4 git commands to generate.