gmtime: avoid a modulus
commit24bd9d5393dbe39a5c6194877bc00ede669b1d5d
authorRafaël Carré <funman@videolan.org>
Sun, 11 Mar 2012 21:20:35 +0000 (11 17:20 -0400)
committerBertrik Sikken <bertrik@sikken.nl>
Sun, 18 Mar 2012 09:09:08 +0000 (18 10:09 +0100)
tree9959362ccb3f8b8cb265014521d992f069b1936d
parent2004f3eae42f04bef913672098b79f4a31c3f212
gmtime: avoid a modulus

since WEEK_SECONDS = 7 * DAY_SECONDS, the result is the same

Change-Id: Iec161fc2de626c99c1aabf80ab1d3243eac602d9
firmware/libc/gmtime.c