From: Dave A. <ai...@us...> - 2001-03-11 23:47:07
|
Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax In directory usw-pr-cvs1:/tmp/cvs-serv25391 Modified Files: byteorder.h Log Message: byteorder can be included from userspace.. so don't use u_int16_t use __u16 Index: byteorder.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/byteorder.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- byteorder.h 2001/03/03 20:39:47 1.5 +++ byteorder.h 2001/03/11 23:49:00 1.6 @@ -31,7 +31,7 @@ static __inline__ __const__ __u16 ___arch__swab16(__u16 x) { register __u16 __x = (x); - return (u_int16_t)(__x << 8 | __x >> 8); + return (__u16)(__x << 8 | __x >> 8); } #if VAX_USE_ARCH_SWAB32 #define __arch__swab32(x) ___arch__swab32(x) |