freebsd-dev/contrib/netbsd-tests/usr.bin/xlint/lint1/d_c99_compound_literal_comma.c
Enji Cooper 640235e2c2 Checkpoint initial integration work
- Some of the lib/libc and lib/thr tests fail
- lib/msun/exp_test:exp2_values now passes with clang 3.8.0

The Makefiles in contrib/netbsd-tests were pruned as they have no value

Sponsored by: EMC / Isilon Storage Division
2016-08-12 08:50:05 +00:00

15 lines
233 B
C

struct bintime {
unsigned long long sec;
unsigned long long frac;
};
struct bintime
us2bintime(unsigned long long us)
{
return (struct bintime) {
.sec = us / 1000000U,
.frac = (((us % 1000000U) >> 32)/1000000U) >> 32,
};
}