lib: remove unused includes
[babeltrace.git] / src / lib / assert-cond.c
index c2d23c9e79315deff0d62c0d249793bef4b42af5..53505387cb603fcac50e9d3b3b4ae9d7cc6b4d05 100644 (file)
@@ -11,7 +11,6 @@
 #include <stdarg.h>
 #include <glib.h>
 #include "common/assert.h"
-#include "common/macros.h"
 #include "assert-cond-base.h"
 
 static
@@ -53,7 +52,6 @@ GString *format_cond_id(const char *cond_type, const char *func,
        return id;
 }
 
-BT_HIDDEN
 void bt_lib_assert_cond_failed(const char *cond_type, const char *func,
                const char *id_suffix, const char *fmt, ...)
 {
@@ -70,7 +68,7 @@ void bt_lib_assert_cond_failed(const char *cond_type, const char *func,
        BT_ASSERT_COND_MSG("------------------------------------------------------------------------");
        BT_ASSERT_COND_MSG("Error is:");
        va_start(args, fmt);
-       bt_lib_log_v(_BT_LOG_SRCLOC_FUNCTION, __FILE__, __LINE__, BT_LOG_FATAL,
+       bt_lib_log_v(__FILE__, __func__, __LINE__, BT_LOG_FATAL,
                BT_LOG_TAG, fmt, &args);
        va_end(args);
        BT_ASSERT_COND_MSG("Aborting...");
This page took 0.024554 seconds and 4 git commands to generate.