summaryrefslogtreecommitdiffstats
path: root/apps/gui/viewport.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2014-08-05 21:19:07 -0400
committerMichael Sevakis <jethead71@rockbox.org>2014-08-05 21:32:13 -0400
commit29f5385263367ada481cb91fb5f44b6c1f90c59c (patch)
tree930f6d591bb6c4996cd16050fc232179d3d9b638 /apps/gui/viewport.h
parentbb7700928a05c42339be4f587b105659bc8dc2be (diff)
downloadrockbox-29f5385263367ada481cb91fb5f44b6c1f90c59c.tar.gz
rockbox-29f5385263367ada481cb91fb5f44b6c1f90c59c.tar.bz2
rockbox-29f5385263367ada481cb91fb5f44b6c1f90c59c.zip
Fix up some more red
find_first_set_bit() becomes a small inline on ARMv5+ and checkwps now gets made with -std=gnu99 (it eats all the GCCOPTS) like the rest of things. Change-Id: Ie6039b17fec057a3dcb0f453d8fd5efac984df89
Diffstat (limited to 'apps/gui/viewport.h')
-rw-r--r--apps/gui/viewport.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/gui/viewport.h b/apps/gui/viewport.h
index 3da001e190..ecbd325946 100644
--- a/apps/gui/viewport.h
+++ b/apps/gui/viewport.h
@@ -38,19 +38,21 @@ int viewport_get_nb_lines(const struct viewport *vp);
#define THEME_LISTS (BIT_N(3))
#define THEME_ALL (~(0u))
+/* These are needed in checkwps */
+void viewport_set_defaults(struct viewport *vp,
+ const enum screen_type screen);
+void viewport_set_fullscreen(struct viewport *vp,
+ const enum screen_type screen);
+int get_viewport_default_colour(enum screen_type screen, bool fgcolour);
+
#ifndef __PCTOOL__
+
/*
* Initialize the viewportmanager, which in turns initializes the UI vp and
* statusbar stuff
*/
void viewportmanager_init(void) INIT_ATTR;
-void viewport_set_defaults(struct viewport *vp,
- const enum screen_type screen);
-void viewport_set_fullscreen(struct viewport *vp,
- const enum screen_type screen);
-int get_viewport_default_colour(enum screen_type screen, bool fgcolour);
-
#ifdef HAVE_LCD_BITMAP
void viewportmanager_theme_enable(enum screen_type screen, bool enable,
struct viewport *viewport);