--- libaitsess/inc/aitsess.h 2012/02/27 17:43:33 1.4.2.1 +++ libaitsess/inc/aitsess.h 2012/02/27 21:18:31 1.4.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitsess.h,v 1.4.2.1 2012/02/27 17:43:33 misho Exp $ +* $Id: aitsess.h,v 1.4.2.2 2012/02/27 21:18:31 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -47,9 +47,9 @@ SUCH DAMAGE. #define __AITSESS_H +#include #include #include -#include #include #define SHARED_UNKNOWN -1 @@ -189,7 +189,7 @@ int mpool_free(mpool_t * __restrict mp, void * __restr * @purge = if !=0 force release memory block * return: <0 error or 0 ok released memory block */ -int mpool_free2(mpool_t * __restrict mp, u_int size, const char *memname, int purge); +int mpool_free2(mpool_t * __restrict mp, unsigned int size, const char *memname, int purge); /* * mpool_getmembynam() Find allocated memory block by size and memory name * @@ -198,7 +198,7 @@ int mpool_free2(mpool_t * __restrict mp, u_int size, c * @memname = Memory name * return: NULL error or not found and !=NULL allocated memory */ -inline struct tagAlloc *mpool_getmembynam(mpool_t * __restrict mp, u_int size, const char *memname); +inline struct tagAlloc *mpool_getmembynam(mpool_t * __restrict mp, unsigned int size, const char *memname); /*