MT#55283 rename macro

Change-Id: I7ee697e3fb63226a304a1150c51ef2603294be80
pull/2056/head
Richard Fuchs 2 months ago
parent 352bda7035
commit b9c24cbf99

@ -489,7 +489,7 @@ struct media_subscription {
struct media_subscription *reverse; // opposite (subscription -> subscriber / vice versa)
};
typedef IQUEUE_TYPE(struct media_subscription, link) subscription_q;
typedef IQUEUE(struct media_subscription, link) subscription_q;

@ -101,7 +101,7 @@ struct codec_packet {
void (*plain_free_func)(void *);
};
typedef IQUEUE_TYPE(struct codec_packet, link) codec_packet_q;
typedef IQUEUE(struct codec_packet, link) codec_packet_q;
struct codec_scheduler {

@ -101,7 +101,7 @@ struct socket_port_link {
IQUEUE_LINK link;
};
typedef IQUEUE_TYPE(struct socket_port_link, link) socket_port_q;
typedef IQUEUE(struct socket_port_link, link) socket_port_q;
TYPED_GQUEUE(port_pool, struct port_pool)
@ -293,7 +293,7 @@ struct rtp_extension_data {
str content;
};
typedef IQUEUE_TYPE(struct rtp_extension_data, link) extmap_data_q;
typedef IQUEUE(struct rtp_extension_data, link) extmap_data_q;
struct media_packet {

@ -12,7 +12,7 @@
}
#define IQUEUE_TYPE(ele_type, link_name) \
#define IQUEUE(ele_type, link_name) \
struct { \
union { \
struct { \
@ -32,10 +32,6 @@
}
#define IQUEUE(ele_type, link_name, queue_name) \
IQUEUE_TYPE(ele_type, link_name) queue_name
#define i_queue_init(list) do { \
(list)->head = NULL; \
(list)->tail = NULL; \

Loading…
Cancel
Save