Module Name: src Committed By: dholland Date: Fri Jun 3 15:15:23 UTC 2016
Modified Files: src/sys/sys: ieee754.h Log Message: avoid "u_int" To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/sys/ieee754.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/ieee754.h diff -u src/sys/sys/ieee754.h:1.15 src/sys/sys/ieee754.h:1.16 --- src/sys/sys/ieee754.h:1.15 Sat Feb 1 16:39:52 2014 +++ src/sys/sys/ieee754.h Fri Jun 3 15:15:22 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: ieee754.h,v 1.15 2014/02/01 16:39:52 matt Exp $ */ +/* $NetBSD: ieee754.h,v 1.16 2016/06/03 15:15:22 dholland Exp $ */ /* * Copyright (c) 1992, 1993 @@ -90,13 +90,13 @@ struct ieee_single { #if _BYTE_ORDER == _BIG_ENDIAN - u_int sng_sign:1; - u_int sng_exp:SNG_EXPBITS; - u_int sng_frac:SNG_FRACBITS; + unsigned int sng_sign:1; + unsigned int sng_exp:SNG_EXPBITS; + unsigned int sng_frac:SNG_FRACBITS; #else - u_int sng_frac:SNG_FRACBITS; - u_int sng_exp:SNG_EXPBITS; - u_int sng_sign:1; + unsigned int sng_frac:SNG_FRACBITS; + unsigned int sng_exp:SNG_EXPBITS; + unsigned int sng_sign:1; #endif }; @@ -107,15 +107,15 @@ struct ieee_single { struct ieee_double { #if _BYTE_ORDER == _BIG_ENDIAN - u_int dbl_sign:1; - u_int dbl_exp:DBL_EXPBITS; - u_int dbl_frach:DBL_FRACHBITS; - u_int dbl_fracl:DBL_FRACLBITS; + unsigned int dbl_sign:1; + unsigned int dbl_exp:DBL_EXPBITS; + unsigned int dbl_frach:DBL_FRACHBITS; + unsigned int dbl_fracl:DBL_FRACLBITS; #else - u_int dbl_fracl:DBL_FRACLBITS; - u_int dbl_frach:DBL_FRACHBITS; - u_int dbl_exp:DBL_EXPBITS; - u_int dbl_sign:1; + unsigned int dbl_fracl:DBL_FRACLBITS; + unsigned int dbl_frach:DBL_FRACHBITS; + unsigned int dbl_exp:DBL_EXPBITS; + unsigned int dbl_sign:1; #endif };