Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from -Wundef. No code change.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12811 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-03-16 23:47:03 +00:00
parent c0351ca633
commit 2c7b127dd7
21 changed files with 42 additions and 38 deletions

View file

@ -177,7 +177,7 @@ extern void statusbar_icon_play_state(int state);
extern void statusbar_icon_play_mode(int mode);
extern void statusbar_icon_shuffle(void);
extern void statusbar_icon_lock(void);
#ifdef CONFIG_RTC
#if CONFIG_RTC
extern void statusbar_time(int hour, int minute);
#endif
#if (CONFIG_LED == LED_VIRTUAL)