git: 9front

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