chiark / gitweb /
Don't depend on the field order of struct timespec.
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 23 Nov 2018 19:33:21 +0000 (19:33 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 8 Dec 2018 22:30:09 +0000 (22:30 +0000)
commit2e6a1c0f903a75c5db397fb158d8d9dd93f3fcf9
treef59c9905c1854533cfae6c9b195744b64313131c
parent973a794918444a2c64a1447e8222dc74abee87d1
Don't depend on the field order of struct timespec.

POSIX merely requires that tv_sec and tv_nsec be present, so
initialisers need to name them explicitly.
clunk.c