shithub: drawterm-fdroid

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