add TLSDESC support for 32-bit arm
[musl.git] / src / stdio / ofl_add.c
blobd7de9f15a13ee3fc5f7118ce35dea64bb65cbd5d
1 #include "stdio_impl.h"
3 FILE *__ofl_add(FILE *f)
5 FILE **head = __ofl_lock();
6 f->next = *head;
7 if (*head) (*head)->prev = f;
8 *head = f;
9 __ofl_unlock();
10 return f;