Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
b39b47bac8ee5505cfc595000a140c35460e1cac
/
.
/
src
/
stdio
/
ofl_add.c
blob: d7de9f15a13ee3fc5f7118ce35dea64bb65cbd5d [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
FILE
*
__ofl_add
(
FILE
*
f
)
{
FILE
**
head
=
__ofl_lock
();
f
->
next
=
*
head
;
if
(*
head
)
(*
head
)->
prev
=
f
;
*
head
=
f
;
__ofl_unlock
();
return
f
;
}