2018-01-02 01:00:07 +01:00
|
|
|
/* Copyright (C) Charles Forsyth
|
|
|
|
* See /doc/license/NOTICE.Plan9-9k.txt for details about the licensing.
|
|
|
|
*/
|
|
|
|
/* Portions of this file are Copyright (C) 2015-2018 Giacomo Tesio <giacomo@tesio.it>
|
|
|
|
* See /doc/license/gpl-2.0.txt for details about the licensing.
|
2015-12-22 12:55:44 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <u.h>
|
|
|
|
#include <libc.h>
|
|
|
|
|
|
|
|
static Lock fmtl;
|
|
|
|
|
|
|
|
void
|
|
|
|
_fmtlock(void)
|
|
|
|
{
|
2017-04-19 23:33:14 +02:00
|
|
|
jehanne_lock(&fmtl);
|
2015-12-22 12:55:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
_fmtunlock(void)
|
|
|
|
{
|
2017-04-19 23:33:14 +02:00
|
|
|
jehanne_unlock(&fmtl);
|
2015-12-22 12:55:44 +01:00
|
|
|
}
|
2016-11-25 17:18:40 +01:00
|
|
|
|
|
|
|
int
|
|
|
|
_efgfmt(Fmt* f)
|
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
}
|