]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/netbsd-tests/usr.bin/xlint/lint1/d_c99_compound_literal_comma.c
MFC r305358,r305449,r305451,r306367,r306397,r309474:
[FreeBSD/stable/10.git] / contrib / netbsd-tests / usr.bin / xlint / lint1 / d_c99_compound_literal_comma.c
1 struct bintime {
2         unsigned long long sec;
3         unsigned long long frac;
4 };
5
6 struct bintime
7 us2bintime(unsigned long long us)
8 {
9
10         return (struct bintime) {
11                 .sec = us / 1000000U,
12                 .frac = (((us % 1000000U) >> 32)/1000000U) >> 32,
13         };
14 }