diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-06-14 20:22:34 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-06-14 20:22:34 +0200 |
| commit | 39fb26df70b6d8878953ff18046cdc12817a2e42 (patch) | |
| tree | a125acf35c0e586af6ed08643423d8e15eb2937c | |
| parent | 5c87dfb9d5db3b6c93c30910f72d00bb1e5e326e (diff) | |
| download | plan9front-39fb26df70b6d8878953ff18046cdc12817a2e42.tar.xz | |
9pc, 9pc64: make mapalloc() and mapfree() static in memory.c
| -rw-r--r-- | sys/src/9/pc/memory.c | 4 | ||||
| -rw-r--r-- | 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; |
