shithub: drawterm

ref: a38e9e1dc0e0957dcf1b4b4f14d49b79e80d65a3
dir: /libc/fmtlock.c/

View raw version
#include <u.h>
#include <libc.h>

static Lock fmtl;

void
__fmtlock(void)
{
	lock(&fmtl);
}

void
__fmtunlock(void)
{
	unlock(&fmtl);
}