From 8ab4dcde9db8175ef0093123bd04c72471e205ff Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Mon, 27 Feb 2006 02:14:48 -0800 Subject: _xcb_list is no longer used, so remove it. Simplify _xcb_map. --- src/xcbint.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/xcbint.h') diff --git a/src/xcbint.h b/src/xcbint.h index 67ec017..0e24d72 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -41,17 +41,9 @@ enum workarounds { /* xcb_list.c */ -typedef struct _xcb_list _xcb_list; typedef void (*XCBListFreeFunc)(void *); -_xcb_list *_xcb_list_new(void); -void _xcb_list_delete(_xcb_list *list, XCBListFreeFunc do_free); -int _xcb_list_append(_xcb_list *list, void *data); -void *_xcb_list_peek_head(_xcb_list *list); -void *_xcb_list_remove(_xcb_list *list, int (*cmp)(const void *, const void *), const void *data); -void *_xcb_list_find(_xcb_list *list, int (*cmp)(const void *, const void *), const void *data); - -typedef _xcb_list _xcb_map; +typedef struct _xcb_map _xcb_map; _xcb_map *_xcb_map_new(void); void _xcb_map_delete(_xcb_map *q, XCBListFreeFunc do_free); -- cgit v1.2.3