From 194ee3f33971567650c568cf59412d2c8d7add21 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 18 Jul 2009 12:11:36 +0000 Subject: [PATCH] Make a few functions static. --- desmume/src/FIFO.cpp | 2 +- desmume/src/GPU_osd.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/desmume/src/FIFO.cpp b/desmume/src/FIFO.cpp index 1081ef18a..a886d89de 100644 --- a/desmume/src/FIFO.cpp +++ b/desmume/src/FIFO.cpp @@ -206,7 +206,7 @@ void GFX_FIFOsend(u8 cmd, u32 param) NDS_RescheduleGXFIFO(); } -BOOL GFX_FIFOrecv(u8 *cmd, u32 *param) +static BOOL GFX_FIFOrecv(u8 *cmd, u32 *param) { u32 gxstat = T1ReadLong(MMU.MMU_MEM[ARMCPU_ARM9][0x40], 0x600); diff --git a/desmume/src/GPU_osd.cpp b/desmume/src/GPU_osd.cpp index 590fb14e4..a92f4fd1c 100644 --- a/desmume/src/GPU_osd.cpp +++ b/desmume/src/GPU_osd.cpp @@ -40,13 +40,13 @@ OSDCLASS *osd = NULL; HudStruct Hud; -void SetHudDummy (HudCoordinates *hud) +static void SetHudDummy (HudCoordinates *hud) { hud->x=666; hud->y=666; } -bool IsHudDummy (HudCoordinates *hud) +static bool IsHudDummy (HudCoordinates *hud) { return (hud->x == 666 && hud->y == 666); }