shithub: tlsclient

ref: 1a02ec3b5c4f3cb41c7a5b377c5fffa0a415e3b7
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);
}