shithub: drawterm-fdroid

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