26 lines
227 B
C
26 lines
227 B
C
|
#include "u.h"
|
||
|
#include "../port/lib.h"
|
||
|
#include "mem.h"
|
||
|
#include "dat.h"
|
||
|
#include "fns.h"
|
||
|
|
||
|
static Lock fmtl;
|
||
|
|
||
|
void
|
||
|
_fmtlock(void)
|
||
|
{
|
||
|
lock(&fmtl);
|
||
|
}
|
||
|
|
||
|
void
|
||
|
_fmtunlock(void)
|
||
|
{
|
||
|
unlock(&fmtl);
|
||
|
}
|
||
|
|
||
|
int
|
||
|
_efgfmt(Fmt*)
|
||
|
{
|
||
|
return -1;
|
||
|
}
|