Cleanup: remove private babeltrace.h
[babeltrace.git] / src / lib / assert-pre.h
index 6264c8ac1c0e6e5cb7fc57794df466676ae48747..c28ec4c45034f9ed09c6bd96bfbd3dc3ab7bc1cb 100644 (file)
@@ -43,7 +43,7 @@
 
 #include <stdlib.h>
 #include <inttypes.h>
-#include "common/babeltrace.h"
+#include "common/macros.h"
 
 #ifdef BT_DEV_MODE
 /*
 # define BT_ASSERT_PRE_MSG     BT_LIB_LOGF
 #else
 # define BT_ASSERT_PRE(_cond, _fmt, ...)       ((void) sizeof((void) (_cond), 0))
-# define BT_ASSERT_PRE_FUNC    BT_UNUSED
+# define BT_ASSERT_PRE_FUNC    __attribute__((unused))
 # define BT_ASSERT_PRE_MSG(_fmt, ...)
 #endif /* BT_DEV_MODE */
 
This page took 0.023175 seconds and 4 git commands to generate.