1#include "stdio_impl.h"
2#include "libc.h"
3
4static FILE *ofl_head;
5static volatile int ofl_lock[2];
6
7FILE **__ofl_lock()
8{
9	LOCK(ofl_lock);
10	return &ofl_head;
11}
12
13void __ofl_unlock()
14{
15	UNLOCK(ofl_lock);
16}
17