| 1 | #include "time32.h" |
| 2 | #include <time.h> |
| 3 | |
| 4 | int __clock_settime32(clockid_t clk, const struct timespec32 *ts32) |
| 5 | { |
| 6 | 	return clock_settime(clk, (&(struct timespec){ |
| 7 | 		.tv_sec = ts32->tv_sec, |
| 8 | 		.tv_nsec = ts32->tv_nsec})); |
| 9 | } |