summaryrefslogtreecommitdiff
path: root/src/xcbint.h
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-02-27 02:14:48 -0800
committerJamey Sharp <jamey@minilop.net>2006-02-27 02:14:48 -0800
commit8ab4dcde9db8175ef0093123bd04c72471e205ff (patch)
tree6c02cd469170c6220a419b43705b723c4906b5bf /src/xcbint.h
parent76ad79a7adbb315f7c7d5f08d6f42553210868cd (diff)
_xcb_list is no longer used, so remove it. Simplify _xcb_map.
Diffstat (limited to 'src/xcbint.h')
-rw-r--r--src/xcbint.h10
1 files changed, 1 insertions, 9 deletions
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);