git: 9front

ref: 4acf15a832d6516f25e01b7a6301f51754405924
dir: /sys/src/cmd/unix/drawterm/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);
}