shithub: drawterm

ref: 6c4be825d2f7c5f2c1a8c01f97b0c4cbec6b8aa3
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);
}