git: 9front

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