repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
generalize mips-specific reloc code not to hard-code sym/type encoding
[musl.git]
/
src
/
time
/
localtime.c
blob
bb6718c33ff27afa636b6acfbfa89cb5840878f1
1
#include
"time_impl.h"
2
3
struct
tm
*
__localtime_r
(
const time_t
*
restrict
,
struct
tm
*
restrict
);
4
5
struct
tm
*
localtime
(
const time_t
*
t
)
6
{
7
static struct
tm tm
;
8
return
__localtime_r
(
t
, &
tm
);
9
}