git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
axwin2 - Little cleanup
[tpg/acess2.git]
/
AcessNative
/
ld-acess_src
/
memory.c
diff --git
a/AcessNative/ld-acess_src/memory.c
b/AcessNative/ld-acess_src/memory.c
index
627f902
..
072d326
100644
(file)
--- a/
AcessNative/ld-acess_src/memory.c
+++ b/
AcessNative/ld-acess_src/memory.c
@@
-42,7
+42,7
@@
uintptr_t FindFreeRange(size_t ByteCount, int MaxBits)
#else
uintptr_t base, ofs, size;
uintptr_t end = -1;
-
const int
PAGE_SIZE = 0x1000;
+
static const int
PAGE_SIZE = 0x1000;
size = (ByteCount + PAGE_SIZE - 1) / PAGE_SIZE;
size *= PAGE_SIZE;
UCC
git Repository :: git.ucc.asn.au