From 437c3e40ca7579acc20b648319447045649b0873 Mon Sep 17 00:00:00 2001 From: Tom Ross Date: Tue, 16 Oct 2007 18:16:22 +0000 Subject: Code police and clean up for rockboy. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15144 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockboy/mem.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'apps/plugins/rockboy/mem.c') diff --git a/apps/plugins/rockboy/mem.c b/apps/plugins/rockboy/mem.c index 6811fd5f81..93072f5d51 100644 --- a/apps/plugins/rockboy/mem.c +++ b/apps/plugins/rockboy/mem.c @@ -28,7 +28,7 @@ struct ram ram; * make the old maps potentially invalid. */ -void mem_updatemap() +void mem_updatemap(void) { int n; static byte **map; @@ -93,7 +93,8 @@ void mem_updatemap() * byte value to be written. */ -void ioreg_write(byte r, byte b) +static void ioreg_write(byte r, byte b) ICODE_ATTR; +static void ioreg_write(byte r, byte b) { if (!hw.cgb) { @@ -225,7 +226,7 @@ void ioreg_write(byte r, byte b) } -byte ioreg_read(byte r) +static byte ioreg_read(byte r) { switch(r) { @@ -282,7 +283,8 @@ byte ioreg_read(byte r) * and a byte value written to the address. */ -void mbc_write(int a, byte b) +static void mbc_write(int a, byte b) ICODE_ATTR; +static void mbc_write(int a, byte b) { byte ha = (a>>12); -- cgit v1.2.3