X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fpool.h;h=87e4abc58c22a1bcd82aee623fcf3706152e3d96;hb=888d1c49ed7cea0f272f520a74be35a32032bd6e;hp=dd180181f6594fe8d1ffa0ad998626ecc887a29c;hpb=ea4ef51b306fde6480c03f72e81c4b31d51660f6;p=bertos.git diff --git a/mware/pool.h b/mware/pool.h index dd180181..87e4abc5 100755 --- a/mware/pool.h +++ b/mware/pool.h @@ -1,7 +1,32 @@ +/*! + * \file + * + * + * \brief Pool macros. + * + * \version $Id$ + * \author Giovanni Bajo + */ + +/*#* + *#* $Log$ + *#* Revision 1.5 2005/11/04 16:20:02 bernie + *#* Fix reference to README.devlib in header. + *#* + *#* Revision 1.4 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* + *#* Revision 1.3 2004/12/08 08:09:01 bernie + *#* Add missing header. + *#* + *#*/ #ifndef MWARE_POOL_H #define MWARE_POOL_H -#include +#include #include #define EXTERN_POOL(name) \ @@ -13,7 +38,7 @@ INLINE void name##_init(void (*init_func)(type*)) \ { \ int i; \ - INITLIST(&name); \ + LIST_INIT(&name); \ for (i=0;i