X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fpool.h;h=b33098cc3aeb7e7a7d75795f62d8d9f6b69a08f6;hb=377c8e6cb7776c1b7d0368928fc619e20077b87f;hp=dd180181f6594fe8d1ffa0ad998626ecc887a29c;hpb=ea4ef51b306fde6480c03f72e81c4b31d51660f6;p=bertos.git diff --git a/mware/pool.h b/mware/pool.h index dd180181..b33098cc 100755 --- a/mware/pool.h +++ b/mware/pool.h @@ -1,7 +1,29 @@ +/*! + * \file + * + * + * \brief Pool macros. + * + * \version $Id$ + * \author Giovanni Bajo + */ + +/*#* + *#* $Log$ + *#* 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 +35,7 @@ INLINE void name##_init(void (*init_func)(type*)) \ { \ int i; \ - INITLIST(&name); \ + LIST_INIT(&name); \ for (i=0;i