diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-08-08 16:28:25 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-08-08 16:28:25 +0200 |
commit | d458439970caffc3bdebc3c139f29e02b285db55 (patch) | |
tree | a0bde4845187c09f37321e66e0aaec27351423ea /blaze822.c | |
parent | 20dae518c4abaac33226b5e8ae85d0de1a1b226e (diff) | |
download | mblaze-d458439970caffc3bdebc3c139f29e02b285db55.tar.gz mblaze-d458439970caffc3bdebc3c139f29e02b285db55.tar.xz mblaze-d458439970caffc3bdebc3c139f29e02b285db55.zip |
import and use timegm from musl
It's ridiculous this function is not in the standards.
Diffstat (limited to 'blaze822.c')
-rw-r--r-- | blaze822.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blaze822.c b/blaze822.c index 5a98915..9a596b6 100644 --- a/blaze822.c +++ b/blaze822.c @@ -121,7 +121,7 @@ blaze822_date(char *s) { tm.tm_isdst = -1; - time_t r = mktime(&tm); + time_t r = tm_to_secs(&tm); return r; fail: |