From 0f274ac852204d5485b6c4dfeafad3c7813007f6 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 2 Dec 2010 21:31:38 +0000 Subject: [PATCH] Fix player sim yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28725 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/font-player.c | 2 +- uisimulator/common/font-player.h | 6 +++++- 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__ */