diff options
author | ed <ed@FreeBSD.org> | 2010-06-21 09:55:56 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-06-21 09:55:56 +0000 |
commit | 76489ac1ea604f511232838164573ea21e9a74a8 (patch) | |
tree | 916572d41a618634b84823c3b89048c2144938df /sys/kern/subr_fattime.c | |
parent | 107ec73aada25d2e0a7051e1f2a8cbef92902d04 (diff) | |
download | FreeBSD-src-76489ac1ea604f511232838164573ea21e9a74a8.zip FreeBSD-src-76489ac1ea604f511232838164573ea21e9a74a8.tar.gz |
Use ISO C99 integer types in sys/kern where possible.
There are only about 100 occurences of the BSD-specific u_int*_t
datatypes in sys/kern. The ISO C99 integer types are used here more
often.
Diffstat (limited to 'sys/kern/subr_fattime.c')
-rw-r--r-- | sys/kern/subr_fattime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_fattime.c b/sys/kern/subr_fattime.c index c3669ad..1fb207e 100644 --- a/sys/kern/subr_fattime.c +++ b/sys/kern/subr_fattime.c @@ -135,7 +135,7 @@ static const struct { void -timespec2fattime(struct timespec *tsp, int utc, u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp) +timespec2fattime(struct timespec *tsp, int utc, uint16_t *ddp, uint16_t *dtp, uint8_t *dhp) { time_t t1; unsigned t2, l, m; @@ -263,8 +263,8 @@ main(int argc __unused, char **argv __unused) struct timespec ts; struct tm tm; double a; - u_int16_t d, t; - u_int8_t p; + uint16_t d, t; + uint8_t p; char buf[100]; for (i = 0; i < 10000; i++) { |