libc/time: redirect timegm(3) to mktime(3)

See the reference here:
https://man7.org/linux/man-pages/man3/timegm.3.html

Change-Id: Ic583b1bd5c7da02086aef7ff043003e402faa4d4
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2020-09-16 21:17:42 +08:00 committed by Xiang Xiao
parent e0aa7c6d81
commit 06e78dc883

View File

@ -100,6 +100,10 @@
#define TIME_UTC 1
/* Redirect the timegm */
#define timegm mktime
/********************************************************************************
* Public Types
********************************************************************************/