--- libaitio/inc/aitio.h 2012/11/16 13:28:28 1.26.4.2 +++ libaitio/inc/aitio.h 2012/11/19 15:23:31 1.26.4.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.26.4.2 2012/11/16 13:28:28 misho Exp $ +* $Id: aitio.h,v 1.26.4.3 2012/11/19 15:23:31 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -466,7 +466,7 @@ inline struct io_ether_addr *io_ether_aton(const char * @addr = Address * return: 0 not supported family type or port number */ -inline u_short io_n2port(io_sockaddr_t * __restrict addr); +inline unsigned short io_n2port(io_sockaddr_t * __restrict addr); /* * io_n2addr() - Extract address from network structure * @@ -569,7 +569,7 @@ ait_val_t *io_makeVar(ait_type_t type, ...); * @... = data * return: -1 error or 0 ok */ -inline int io_setlikeVar(ait_val_t * __restrict v, ait_type_t t, u_int l, ...); +inline int io_setlikeVar(ait_val_t * __restrict v, ait_type_t t, unsigned int l, ...); /* * io_sprintfVar() - Builtin string variable from formatted input * @@ -649,7 +649,7 @@ inline void io_sortVarsByVal(array_t * __restrict vars * @key = Search key * return: NULL error or not found, !=NULL valid element */ -ait_val_t *io_findKeyVars(array_t * __restrict vars, u_short key); +ait_val_t *io_findKeyVars(array_t * __restrict vars, unsigned short key); /* * io_findKeyHash() - Find variable by hash string from array *