diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-01-01 23:52:16 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-01-01 23:52:16 +0100 |
| commit | 5043ded4b6f89dfc861b067577f797a8ab5a7342 (patch) | |
| tree | 6f79f79cf5b3f125f232909aea63203ea08bcd3b | |
| parent | 09910de8ee2e62a965aa34b5cd7514a59061c3a9 (diff) | |
Qualify local variables as static
| -rw-r--r-- | libpsx/src/memory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpsx/src/memory.c b/libpsx/src/memory.c index 05392ba..9b18556 100644 --- a/libpsx/src/memory.c +++ b/libpsx/src/memory.c @@ -11,12 +11,12 @@ extern int __bss_start[]; extern int __bss_end[]; -unsigned int first_free_page; +static unsigned int first_free_page; // 1K granularity and "pages", so more allocations which are small can be done -unsigned char busy_pages[2048]; -unsigned int alloc_size[2048]; +static unsigned char busy_pages[2048]; +static unsigned int alloc_size[2048]; // RAM memory map on the PSX // 0x80000000 - 0x8000FFFF RAM used by the BIOS |
