diff -r 583718dd4cf3 -r 7f90a03e186e ucx/map.h --- a/ucx/map.h Thu Oct 04 11:37:23 2012 +0200 +++ b/ucx/map.h Thu Oct 04 14:08:31 2012 +0200 @@ -7,14 +7,14 @@ #include "ucx.h" #include "string.h" -#include +#include #ifdef __cplusplus extern "C" { #endif -#define UCX_MAP_FOREACH(type,elm,map,iter) \ - for(type elm;ucx_map_iter_next(&iter,(void*)&elm)==0;) +#define UCX_MAP_FOREACH(elm,iter) \ + for(elm;ucx_map_iter_next(&iter,(void*)&elm)==0;) typedef struct UcxMap UcxMap; typedef struct UcxKey UcxKey;