logging: strip down and clean `log.h` and `log.c`
[babeltrace.git] / src / plugins / ctf / fs-src / query.cpp
index 3e9c2a676099ea103ed8c0b40c48888aea50e160..0e3bdc99de9b9ed451d79ad3ea7b060e2c69b7c8 100644 (file)
@@ -6,23 +6,18 @@
  * Babeltrace CTF file system Reader Component queries
  */
 
-#include <fcntl.h>
 #include <glib.h>
 #include <glib/gstdio.h>
-#include <stdbool.h>
-#include <sys/stat.h>
 #include <sys/types.h>
 
 #include <babeltrace2/babeltrace.h>
 
-#define BT_LOG_OUTPUT_LEVEL log_level
+#define BT_LOG_OUTPUT_LEVEL ((enum bt_log_level) log_level)
 #define BT_LOG_TAG          "PLUGIN/SRC.CTF.FS/QUERY"
 #include "logging/comp-logging.h"
 #include "logging/log.h"
 
 #include "common/assert.h"
-#include "common/common.h"
-#include "common/macros.h"
 
 #include "../common/metadata/decoder.hpp"
 #include "fs.hpp"
This page took 0.024998 seconds and 4 git commands to generate.