[PATCH 11/34] arm/gba/console/conio.c: Fix warning
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Oct 20 20:34:13 UTC 2014
---
c/src/lib/libbsp/arm/gba/console/conio.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/arm/gba/console/conio.c b/c/src/lib/libbsp/arm/gba/console/conio.c
index 1027b2a..c53793a 100644
--- a/c/src/lib/libbsp/arm/gba/console/conio.c
+++ b/c/src/lib/libbsp/arm/gba/console/conio.c
@@ -87,6 +87,10 @@ int _wherex; /**< Screen X coordinate */
int _wherey; /**< Screen Y coordinate */
int _textattr; /**< Text attribute */
+/*
+ * Forward reference
+ */
+static void gba_initconio(void);
/*---------------------------------------------------------------------------*
* Defaultfont *
@@ -318,7 +322,7 @@ int gba_printf(const char *_format, ...)
* @param None
* @return None
*/
-void gba_initconio(void)
+static void gba_initconio(void)
{
GBA_REG_DISPCNT = GBA_DISP_MODE_4 | GBA_DISP_BG2_ON;/* 256 color bitmapped mode */
const BgAffineDestData bgAffineReset = {256,0,0,256,0,-256*2};
--
1.9.3
More information about the devel
mailing list