9pc, 9pc64: make mapalloc() and mapfree() static in memory.c

This commit is contained in:
cinap_lenrek 2018-06-14 20:22:34 +02:00
parent 5c87dfb9d5
commit 39fb26df70
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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;