9pc, 9pc64: make mapalloc() and mapfree() static in memory.c
This commit is contained in:
parent
5c87dfb9d5
commit
39fb26df70
2 changed files with 4 additions and 4 deletions
|
@ -103,7 +103,7 @@ memdebug(void)
|
|||
mapprint(&rmapupa);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
mapfree(RMap* rmap, ulong addr, ulong size)
|
||||
{
|
||||
Map *mp;
|
||||
|
@ -149,7 +149,7 @@ mapfree(RMap* rmap, ulong addr, ulong size)
|
|||
unlock(rmap);
|
||||
}
|
||||
|
||||
ulong
|
||||
static ulong
|
||||
mapalloc(RMap* rmap, ulong addr, int size, int align)
|
||||
{
|
||||
Map *mp;
|
||||
|
|
|
@ -100,7 +100,7 @@ memdebug(void)
|
|||
mapprint(&rmapupa);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
mapfree(RMap* rmap, uintptr addr, uintptr size)
|
||||
{
|
||||
Map *mp;
|
||||
|
@ -146,7 +146,7 @@ mapfree(RMap* rmap, uintptr addr, uintptr size)
|
|||
unlock(rmap);
|
||||
}
|
||||
|
||||
uintptr
|
||||
static uintptr
|
||||
mapalloc(RMap* rmap, uintptr addr, int size, int align)
|
||||
{
|
||||
Map *mp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue