ref: 39fb26df70b6d8878953ff18046cdc12817a2e42
parent: 5c87dfb9d5db3b6c93c30910f72d00bb1e5e326e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Jun 14 16:22:34 EDT 2018
9pc, 9pc64: make mapalloc() and mapfree() static in memory.c
--- a/sys/src/9/pc/memory.c
+++ b/sys/src/9/pc/memory.c
@@ -103,7 +103,7 @@
mapprint(&rmapupa);
}
-void
+static void
mapfree(RMap* rmap, ulong addr, ulong size)
{
Map *mp;
@@ -149,7 +149,7 @@
unlock(rmap);
}
-ulong
+static ulong
mapalloc(RMap* rmap, ulong addr, int size, int align)
{
Map *mp;
--- a/sys/src/9/pc64/memory.c
+++ b/sys/src/9/pc64/memory.c
@@ -100,7 +100,7 @@
mapprint(&rmapupa);
}
-void
+static void
mapfree(RMap* rmap, uintptr addr, uintptr size)
{
Map *mp;
@@ -146,7 +146,7 @@
unlock(rmap);
}
-uintptr
+static uintptr
mapalloc(RMap* rmap, uintptr addr, int size, int align)
{
Map *mp;