shithub: riscv

ref: 9c2e8e2b13b0d01b7adf88b61af6edfbddd872c1
dir: /sys/src/libc/fmt/fmtlock.c/

View raw version
#include <u.h>
#include <libc.h>

static Lock fmtl;

void
_fmtlock(void)
{
	lock(&fmtl);
}

void
_fmtunlock(void)
{
	unlock(&fmtl);
}