summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp.h
diff options
context:
space:
mode:
Diffstat (limited to 'librabbitmq/amqp.h')
-rw-r--r--librabbitmq/amqp.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h
index 40c8292..f08990b 100644
--- a/librabbitmq/amqp.h
+++ b/librabbitmq/amqp.h
@@ -292,14 +292,6 @@ extern amqp_bytes_t amqp_bytes_malloc_dup(amqp_bytes_t src);
extern amqp_bytes_t amqp_bytes_malloc(size_t amount);
extern void amqp_bytes_free(amqp_bytes_t bytes);
-#define AMQP_BYTES_FREE(b) \
- ({ \
- if ((b).bytes != NULL) { \
- free((b).bytes); \
- (b).bytes = NULL; \
- } \
- })
-
extern amqp_connection_state_t amqp_new_connection(void);
extern int amqp_get_sockfd(amqp_connection_state_t state);
extern void amqp_set_sockfd(amqp_connection_state_t state,