aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/fmtlock2.c
blob: d711e6d482ec5c34e7f5ecaec3dde84c674b9a01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <u.h>
#include <libc.h>

static Lock fmtlock;

void
__fmtlock(void)
{
	lock(&fmtlock);
}

void
__fmtunlock(void)
{
	unlock(&fmtlock);
}