projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always include "config.h" at the start of all C source files.
[free-sw/xcb/libxcb]
/
src
/
xcb_list.c
diff --git
a/src/xcb_list.c
b/src/xcb_list.c
index
9854ead
..
6f5c611
100644
(file)
--- a/
src/xcb_list.c
+++ b/
src/xcb_list.c
@@
-25,6
+25,10
@@
/* A generic implementation of a list of void-pointers. */
/* A generic implementation of a list of void-pointers. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include "xcb.h"
#include <stdlib.h>
#include "xcb.h"
@@
-54,7
+58,7
@@
_xcb_map *_xcb_map_new()
return list;
}
return list;
}
-void _xcb_map_delete(_xcb_map *list,
XCBListFreeFunc
do_free)
+void _xcb_map_delete(_xcb_map *list,
xcb_list_free_func_t
do_free)
{
if(!list)
return;
{
if(!list)
return;