doc/api/libbabeltrace2/DoxygenLayout.xml: use `topics` tab
[babeltrace.git] / src / lib / assert-cond-base.h
index 271ed02efd37b959d27cf3ab5981498ab21bd6f1..c8d04b63ea6dbc6fbfc61023e64eec7273183700 100644 (file)
@@ -24,9 +24,6 @@
 #endif
 
 #include <stdbool.h>
-#include <stdlib.h>
-#include <inttypes.h>
-#include "common/common.h"
 #include "common/macros.h"
 
 /*
@@ -58,7 +55,7 @@
  */
 #define BT_ASSERT_COND_MSG(_fmt, ...)                                  \
        do {                                                            \
-               bt_lib_log(_BT_LOG_SRCLOC_FUNCTION, __FILE__,           \
+               bt_lib_log(__FILE__, __func__,                          \
                        __LINE__, BT_LOG_FATAL, BT_LOG_TAG,             \
                        (_fmt), ##__VA_ARGS__);                         \
        } while (0)
@@ -77,7 +74,6 @@
  *
  * 4. Aborts.
  */
-BT_HIDDEN
 __attribute__((noreturn))
 void bt_lib_assert_cond_failed(const char *cond_type, const char *func,
                const char *id_suffix, const char *fmt, ...);
This page took 0.023914 seconds and 4 git commands to generate.