From 5043ded4b6f89dfc861b067577f797a8ab5a7342 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Fri, 1 Jan 2021 23:52:16 +0100 Subject: [PATCH] Qualify local variables as static --- libpsx/src/memory.c | 6 +++--- 1 file 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