drawterm/libc/fmtlock.c

17 lines
136 B
C

#include <u.h>
#include <libc.h>
static Lock fmtl;
void
__fmtlock(void)
{
lock(&fmtl);
}
void
__fmtunlock(void)
{
unlock(&fmtl);
}