shithub: drawterm-fdroid

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