shithub: drawterm-fdroid

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