Tue, 02 Oct 2012 11:18:47 +0200
added missing stddef includes
added no break comments
ucx/map.c | file | annotate | diff | comparison | revisions | |
ucx/map.h | file | annotate | diff | comparison | revisions | |
ucx/mempool.h | file | annotate | diff | comparison | revisions | |
ucx/string.h | file | annotate | diff | comparison | revisions |
--- a/ucx/map.c Thu Aug 16 12:36:23 2012 +0200 +++ b/ucx/map.c Tue Oct 02 11:18:47 2012 +0200 @@ -138,8 +138,11 @@ switch (len) { case 3: h ^= (data[i + 2] & 0xFF) << 16; + /* no break */ case 2: h ^= (data[i + 1] & 0xFF) << 8; + /* no break */ case 1: h ^= (data[i + 0] & 0xFF); h *= m; + /* no break */ } h ^= h >> 13;
--- a/ucx/map.h Thu Aug 16 12:36:23 2012 +0200 +++ b/ucx/map.h Tue Oct 02 11:18:47 2012 +0200 @@ -7,6 +7,7 @@ #include "ucx.h" #include "string.h" +#include <stddef.h> #ifdef __cplusplus extern "C" {