projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: remove unused includes
[babeltrace.git]
/
src
/
lib
/
assert-cond.c
diff --git
a/src/lib/assert-cond.c
b/src/lib/assert-cond.c
index c2d23c9e79315deff0d62c0d249793bef4b42af5..53505387cb603fcac50e9d3b3b4ae9d7cc6b4d05 100644
(file)
--- a/
src/lib/assert-cond.c
+++ b/
src/lib/assert-cond.c
@@
-11,7
+11,6
@@
#include <stdarg.h>
#include <glib.h>
#include "common/assert.h"
#include <stdarg.h>
#include <glib.h>
#include "common/assert.h"
-#include "common/macros.h"
#include "assert-cond-base.h"
static
#include "assert-cond-base.h"
static
@@
-53,7
+52,6
@@
GString *format_cond_id(const char *cond_type, const char *func,
return id;
}
return id;
}
-BT_HIDDEN
void bt_lib_assert_cond_failed(const char *cond_type, const char *func,
const char *id_suffix, const char *fmt, ...)
{
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_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...");
BT_LOG_TAG, fmt, &args);
va_end(args);
BT_ASSERT_COND_MSG("Aborting...");
This page took
0.02813 seconds
and
4
git commands to generate.