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