1.1 --- a/ucx/map.h Thu Oct 04 11:37:23 2012 +0200 1.2 +++ b/ucx/map.h Thu Oct 04 14:08:31 2012 +0200 1.3 @@ -7,14 +7,14 @@ 1.4 1.5 #include "ucx.h" 1.6 #include "string.h" 1.7 -#include <stddef.h> 1.8 +#include <stdio.h> 1.9 1.10 #ifdef __cplusplus 1.11 extern "C" { 1.12 #endif 1.13 1.14 -#define UCX_MAP_FOREACH(type,elm,map,iter) \ 1.15 - for(type elm;ucx_map_iter_next(&iter,(void*)&elm)==0;) 1.16 +#define UCX_MAP_FOREACH(elm,iter) \ 1.17 + for(elm;ucx_map_iter_next(&iter,(void*)&elm)==0;) 1.18 1.19 typedef struct UcxMap UcxMap; 1.20 typedef struct UcxKey UcxKey;