Home | History | Annotate | Line # | Download | only in lint1
d_c99_compound_literal_comma.c revision 1.2
      1 /*	$NetBSD: d_c99_compound_literal_comma.c,v 1.2 2021/01/31 14:39:31 rillig Exp $	*/
      2 # 3 "d_c99_compound_literal_comma.c"
      3 
      4 struct bintime {
      5 	unsigned long long sec;
      6 	unsigned long long frac;
      7 };
      8 
      9 struct bintime
     10 us2bintime(unsigned long long us)
     11 {
     12 
     13 	return (struct bintime) {
     14 		.sec = us / 1000000U,
     15 		.frac = (((us % 1000000U) >> 32)/1000000U) >> 32,
     16 	};
     17 }
     18