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

static QLock fmtlock;

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

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