diff options
Diffstat (limited to 'librabbitmq/amqp_private.h')
-rw-r--r-- | librabbitmq/amqp_private.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/librabbitmq/amqp_private.h b/librabbitmq/amqp_private.h index 905c638..0ff71c7 100644 --- a/librabbitmq/amqp_private.h +++ b/librabbitmq/amqp_private.h @@ -279,14 +279,7 @@ extern int amqp_encode_table(amqp_bytes_t encoded, amqp_table_t *input, size_t *offset); -#define amqp_assert(condition, ...) \ - ({ \ - if (!(condition)) { \ - fprintf(stderr, __VA_ARGS__); \ - fputc('\n', stderr); \ - abort(); \ - } \ - }) +extern void amqp_abort(const char *fmt, ...); #define AMQP_CHECK_RESULT_CLEANUP(expr, stmts) \ ({ \ |