X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fstruct%2Fpool.h;h=a44b14f3518b04d573290b573caaddb94a046209;hb=4bef9e1478a89338bece87b04c3872e76b64068e;hp=01c18d38a15a28bcdb8706d60e1d1d0c9acbe131;hpb=e5174304054e26cd8f3cd1f9980871c20c07fc46;p=bertos.git diff --git a/bertos/struct/pool.h b/bertos/struct/pool.h index 01c18d38..a44b14f3 100644 --- a/bertos/struct/pool.h +++ b/bertos/struct/pool.h @@ -31,12 +31,11 @@ * * \brief Pool macros. * - * \version $Id: pool.h 1294 2008-05-20 13:43:57Z asterix $ * \author Giovanni Bajo */ -#ifndef MWARE_POOL_H -#define MWARE_POOL_H +#ifndef STRUCT_POOL_H +#define STRUCT_POOL_H #include #include @@ -49,7 +48,7 @@ storage name; \ INLINE void name##_init(void (*init_func)(type*)) \ { \ - int i; \ + size_t i; \ LIST_INIT(&name); \ for (i=0;i