summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/pc/memory.c4
-rw-r--r--sys/src/9/pc64/memory.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/src/9/pc/memory.c b/sys/src/9/pc/memory.c
index 53e81758a..25f979437 100644
--- a/sys/src/9/pc/memory.c
+++ b/sys/src/9/pc/memory.c
@@ -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;
diff --git a/sys/src/9/pc64/memory.c b/sys/src/9/pc64/memory.c
index cb2c15219..8b2c47e21 100644
--- a/sys/src/9/pc64/memory.c
+++ b/sys/src/9/pc64/memory.c
@@ -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;