code: drawterm

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