drawterm/libc/fmtlock.c

17 lines
134 B
C
Raw Normal View History

2005-08-08 14:50:13 +02:00
#include <u.h>
#include <libc.h>
static Lock fmtl;
void
_fmtlock(void)
{
lock(&fmtl);
}
void
_fmtunlock(void)
{
unlock(&fmtl);
}