Use the dedicated BCD macros from sys/time.h instead of handrolling
authorpirofti <pirofti@openbsd.org>
Mon, 6 Jan 2014 21:38:46 +0000 (21:38 +0000)
committerpirofti <pirofti@openbsd.org>
Mon, 6 Jan 2014 21:38:46 +0000 (21:38 +0000)
commit88b4a14fcfbd189a10a872d7bccc849d1d04b6bd
treedd9886dcd16b833b1c044dc2bb18c08b859d8248
parent0c4461585dcb41167cad5af5f5b2b3b8905f15d5
Use the dedicated BCD macros from sys/time.h instead of handrolling
our own for the m41t8x clocks.

Tested by me and jasper@.
Okay jasper@, guenther@, deraadt@
sys/arch/loongson/dev/m41t8xclock.c