logging: strip down and clean `log.h` and `log.c`
[babeltrace.git] / src / lib / assert-cond-base.h
index 271ed02efd37b959d27cf3ab5981498ab21bd6f1..dd624d9cd43e0f3cde9eb79b566d26219a8878ce 100644 (file)
@@ -58,7 +58,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 +77,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.024054 seconds and 4 git commands to generate.