# HG changeset patch # User Mike Becker # Date 1349169527 -7200 # Node ID 35f67a8ef875f153f93768be368f3e3cd4580b43 # Parent ec296899d12f5c464d69f0887a58f88a838afaa9 added missing stddef includes added no break comments diff -r ec296899d12f -r 35f67a8ef875 ucx/map.c --- 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; diff -r ec296899d12f -r 35f67a8ef875 ucx/map.h --- 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 #ifdef __cplusplus extern "C" { diff -r ec296899d12f -r 35f67a8ef875 ucx/mempool.h --- a/ucx/mempool.h Thu Aug 16 12:36:23 2012 +0200 +++ b/ucx/mempool.h Tue Oct 02 11:18:47 2012 +0200 @@ -5,6 +5,8 @@ #ifndef MPOOL_H #define MPOOL_H +#include + #ifdef __cplusplus extern "C" { #endif diff -r ec296899d12f -r 35f67a8ef875 ucx/string.h --- a/ucx/string.h Thu Aug 16 12:36:23 2012 +0200 +++ b/ucx/string.h Tue Oct 02 11:18:47 2012 +0200 @@ -8,6 +8,8 @@ #ifndef _SSTRING_H #define _SSTRING_H +#include + #define S(s) { s, sizeof(s)-1 } #define ST(s) sstrn(s, sizeof(s)-1)