X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fstruct%2Fpool.h;h=f53d4061c828bb3679ddf3381cd201922811bf4a;hb=8eead54a68f22eea75c0599be14a9bc81e2f9fcd;hp=01c18d38a15a28bcdb8706d60e1d1d0c9acbe131;hpb=e5174304054e26cd8f3cd1f9980871c20c07fc46;p=bertos.git diff --git a/bertos/struct/pool.h b/bertos/struct/pool.h index 01c18d38..f53d4061 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