diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-11-22 19:56:57 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-11-22 19:56:57 +0000 |
commit | 2e2cbfe4acc22c1c69e38b638280da974630ca7f (patch) | |
tree | 0e45219f65af8f51f6364f89d917a12862da9216 | |
parent | 7567e99d61cfe5c63f7b4faa02f2a4c2bfb49d03 (diff) | |
download | rockbox-2e2cbfe4acc22c1c69e38b638280da974630ca7f.tar.gz rockbox-2e2cbfe4acc22c1c69e38b638280da974630ca7f.zip |
#ifdef out unused function to fix warning for non rtc and non bitmap targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15757 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/screens.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/screens.c b/apps/screens.c index b84b3642e5..6654be4961 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -80,6 +80,8 @@ #define SCROLLBAR_WIDTH 6 #endif +/* only used in set_time screen */ +#if defined(HAVE_LCD_BITMAP) && (CONFIG_RTC != 0) static int clamp_value_wrap(int value, int max, int min) { if (value > max) @@ -88,6 +90,7 @@ static int clamp_value_wrap(int value, int max, int min) return max; return value; } +#endif void usb_screen(void) { |