From 39fb26df70b6d8878953ff18046cdc12817a2e42 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 14 Jun 2018 20:22:34 +0200 Subject: 9pc, 9pc64: make mapalloc() and mapfree() static in memory.c --- sys/src/9/pc/memory.c | 4 ++-- sys/src/9/pc64/memory.c | 4 ++-- 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; -- cgit v1.2.3