shithub: drawterm-fdroid

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