time: to/from sec conversions.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Oct 2013 11:27:16 +0000 (21:57 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Oct 2013 11:27:16 +0000 (21:57 +1030)
commitfe5952874bfb47b8d2c087c93d2149aea6ec2f44
tree2232a89b1926c3a2022b26e6d7c56716113637a5
parent96a1ebd3354ef6250e94b509b4e0c0f1ea7e67bb
time: to/from sec conversions.

Trivial, but they make coding easier and more predictable.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/time/test/run.c
ccan/time/time.h