summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-12-02 21:31:38 +0000
committerThomas Martitz <kugel@rockbox.org>2010-12-02 21:31:38 +0000
commit0f274ac852204d5485b6c4dfeafad3c7813007f6 (patch)
treeef4d6cbcf39b76452c58dc823d0691403c53945d /uisimulator
parentac3a7458a867b32024e08aac0bf574a5f8f0d47c (diff)
downloadrockbox-0f274ac852204d5485b6c4dfeafad3c7813007f6.tar.gz
rockbox-0f274ac852204d5485b6c4dfeafad3c7813007f6.tar.bz2
rockbox-0f274ac852204d5485b6c4dfeafad3c7813007f6.zip
Fix player sim yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28725 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/font-player.c2
-rw-r--r--uisimulator/common/font-player.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/uisimulator/common/font-player.c b/uisimulator/common/font-player.c
index 0d2d5236cb..f08a98348f 100644
--- a/uisimulator/common/font-player.c
+++ b/uisimulator/common/font-player.c
@@ -539,7 +539,7 @@ static unsigned char font_player_oldlcd[256][7] = {
unsigned char (*font_player)[256][7] = &font_player_newlcd;
-void font_init()
+void font_init(void)
{
if (is_new_player())
font_player = &font_player_newlcd;
diff --git a/uisimulator/common/font-player.h b/uisimulator/common/font-player.h
index 8ddf083ca2..bfa88d7321 100644
--- a/uisimulator/common/font-player.h
+++ b/uisimulator/common/font-player.h
@@ -17,7 +17,11 @@
*
****************************************************************************/
+#ifndef __FONT_PLAYER_H__
+#define __FONT_PLAYER_H__
+
extern unsigned char (*font_player)[256][7];
-void font_init();
+void font_init(void);
+#endif /* __FONT_PLAYER_H__ */