cpp-common/bt2: remove redundant assertions
[babeltrace.git] / src / lib / error.h
index 8095a930c8b62a5317ff02ec3faae662198652f4..39788185629eb90a9df65c1fa69f967765394366 100644 (file)
@@ -10,8 +10,6 @@
 #include <stdarg.h>
 #include <glib.h>
 #include <babeltrace2/babeltrace.h>
-#include "lib/object.h"
-#include "common/macros.h"
 
 struct bt_error_cause {
        enum bt_error_cause_actor_type actor_type;
@@ -71,31 +69,29 @@ const char *bt_error_cause_actor_type_string(
        }
 };
 
-BT_HIDDEN
 struct bt_error *bt_error_create(void);
 
-BT_HIDDEN
 void bt_error_destroy(struct bt_error *error);
 
-BT_HIDDEN __BT_ATTR_FORMAT_PRINTF(5, 0)
+__BT_ATTR_FORMAT_PRINTF(5, 0)
 int bt_error_append_cause_from_unknown(struct bt_error *error,
                const char *module_name, const char *file_name,
                uint64_t line_no, const char *msg_fmt, va_list args);
 
-BT_HIDDEN __BT_ATTR_FORMAT_PRINTF(5, 0)
+__BT_ATTR_FORMAT_PRINTF(5, 0)
 int bt_error_append_cause_from_component(
                struct bt_error *error, bt_self_component *self_comp,
                const char *file_name, uint64_t line_no,
                const char *msg_fmt, va_list args);
 
-BT_HIDDEN __BT_ATTR_FORMAT_PRINTF(5, 0)
+__BT_ATTR_FORMAT_PRINTF(5, 0)
 int bt_error_append_cause_from_component_class(
                struct bt_error *error,
                bt_self_component_class *self_comp_class,
                const char *file_name, uint64_t line_no,
                const char *msg_fmt, va_list args);
 
-BT_HIDDEN __BT_ATTR_FORMAT_PRINTF(5, 0)
+__BT_ATTR_FORMAT_PRINTF(5, 0)
 int bt_error_append_cause_from_message_iterator(
                struct bt_error *error, bt_self_message_iterator *self_iter,
                const char *file_name, uint64_t line_no,
This page took 0.022785 seconds and 4 git commands to generate.