summaryrefslogtreecommitdiff
path: root/include/linux/time.h
Commit message (Collapse)AuthorAgeFilesLines
* linux/time.h: include vsprintf.hAKASHI Takahiro2019-12-061-0/+1
| | | | | | | Without this commit, time.h possibly causes a build error as asctime_r() uses sprintf(). Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
* lib: add mktime64() for linux compatibilityAKASHI Takahiro2019-12-061-0/+10
| | | | | | | This function will be used in lib/crypto/x509_cert_parser.c, which will also be imported from linux code in a later commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
* linux/time.h: Remove dead codeMarek BehĂșn2017-10-161-5/+0
| | | | | | | | | | | Since rem = ((long) *tim_p) % SECSPERDAY; the second while cycle while (rem >= SECSPERDAY) is dead. Reported-by: Coverity (CID: 167334) Signed-off-by: Marek Behun <marek.behun@nic.cz>
* Initial revisionwdenk2002-03-081-0/+158