code: drawterm

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