Alignement on netbsd types, part 1
The following types are modified (old -> new): * _BSD_USECONDS_T_ int -> unsigned int * __socklen_t __int32_t -> __uint32_t * blksize_t uint32_t -> int32_t * rlim_t uint32_t -> uint64_t On ARM: * _BSD_CLOCK_T_ int -> unsigned int On Intel: * _BSD_CLOCK_T_ int -> unsigned long bin/cat is also updated in order to fix warnings. _BSD_TIMER_T_ has still to be aligned. Change-Id: I2b4fda024125a19901120546c4e22e443ba5e9d7
This commit is contained in:
+1
-5
@@ -343,12 +343,8 @@ void test2g()
|
||||
|
||||
/* Now times(). */
|
||||
t4 = times(&tmsbuf);
|
||||
if ( t4 == (clock_t) -1) e(6);
|
||||
if (t4 == (clock_t) -1) e(6);
|
||||
if (t4 - t3 < clocks_per_sec) e(7);
|
||||
if (tmsbuf.tms_utime < 0) e(8);
|
||||
if (tmsbuf.tms_stime < 0) e(9);
|
||||
if (tmsbuf.tms_cutime < 0) e(10);
|
||||
if (tmsbuf.tms_cstime < 0) e(11);
|
||||
}
|
||||
|
||||
void sigpip(s)
|
||||
|
||||
Reference in New Issue
Block a user