diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-02-26 22:58:17 -0800 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-02-26 22:58:17 -0800 |
commit | 86ce18c22c8daebe8796d3c38e8a1d496ab6e8de (patch) | |
tree | 1abceb666f64e9ca89b4cc0415046990bebec309 /src/xcb_list.c | |
parent | 0f130b4d945a27fd2b4655c351ebe70d61cac598 (diff) |
Replace current_reply generic queue with hand-written version. No generic queues remain so delete their implementation.
Diffstat (limited to 'src/xcb_list.c')
-rw-r--r-- | src/xcb_list.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/xcb_list.c b/src/xcb_list.c index 5b2edc0..6a72c16 100644 --- a/src/xcb_list.c +++ b/src/xcb_list.c @@ -144,16 +144,6 @@ void *_xcb_list_find(_xcb_list *list, int (*cmp)(const void *, const void *), co return 0; } -_xcb_queue *_xcb_queue_new(void) __attribute__ ((alias ("_xcb_list_new"))); -void _xcb_queue_delete(_xcb_queue *q, XCBListFreeFunc do_free) __attribute__ ((alias ("_xcb_list_delete"))); -int _xcb_queue_enqueue(_xcb_queue *q, void *data) __attribute__ ((alias ("_xcb_list_append"))); -void *_xcb_queue_dequeue(_xcb_queue *q) __attribute__ ((alias ("_xcb_list_remove_head"))); - -int _xcb_queue_is_empty(_xcb_queue *q) -{ - return q->head == 0; -} - typedef struct { unsigned int key; void *value; |