xref: /plan9/sys/src/9/boot/printstub.c (revision 061a3f44e70ec02be7c1ae5efce31e69be4bb7e7)
1 #include <u.h>
2 #include <libc.h>
3 
4 static Lock fmtl;
5 
6 void
_fmtlock(void)7 _fmtlock(void)
8 {
9 	lock(&fmtl);
10 }
11 
12 void
_fmtunlock(void)13 _fmtunlock(void)
14 {
15 	unlock(&fmtl);
16 }
17 
18 int
_efgfmt(Fmt *)19 _efgfmt(Fmt*)
20 {
21 	return -1;
22 }
23