Remove some unused includes in C++ files
[babeltrace.git] / src / plugins / ctf / fs-src / file.cpp
index 6361123cd6e5144491bdb36e78ce34f7759108df..25a29d0a5e17407b1f9bf396466617f3950a2a5b 100644 (file)
@@ -4,19 +4,18 @@
  * Copyright 2016 Philippe Proulx <pproulx@efficios.com>
  */
 
+#include <glib.h>
+#include <stdio.h>
+#include <sys/stat.h>
+
 #define BT_COMP_LOG_SELF_COMP (file->self_comp)
 #define BT_LOG_OUTPUT_LEVEL   (file->log_level)
 #define BT_LOG_TAG            "PLUGIN/SRC.CTF.FS/FILE"
 #include "logging/comp-logging.h"
 
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <glib.h>
 #include "file.hpp"
+#include "fs.hpp"
 
-BT_HIDDEN
 void ctf_fs_file_destroy(struct ctf_fs_file *file)
 {
     if (!file) {
@@ -39,7 +38,6 @@ void ctf_fs_file_destroy(struct ctf_fs_file *file)
     g_free(file);
 }
 
-BT_HIDDEN
 struct ctf_fs_file *ctf_fs_file_create(bt_logging_level log_level, bt_self_component *self_comp)
 {
     struct ctf_fs_file *file = g_new0(struct ctf_fs_file, 1);
@@ -65,7 +63,6 @@ end:
     return file;
 }
 
-BT_HIDDEN
 int ctf_fs_file_open(struct ctf_fs_file *file, const char *mode)
 {
     int ret = 0;
This page took 0.025836 seconds and 4 git commands to generate.