summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-11-04 06:56:04 +0000
committerThomas Martitz <kugel@rockbox.org>2009-11-04 06:56:04 +0000
commit6750d65f791f19097ce740cfbe12a873a915a897 (patch)
tree1b4bed035392dbf9c2c1aa61ae7fc858d58e71ea /tools
parentde45edbdb1a387163f9763aa6dd2ce130410b4f2 (diff)
downloadrockbox-6750d65f791f19097ce740cfbe12a873a915a897.tar.gz
rockbox-6750d65f791f19097ce740cfbe12a873a915a897.tar.bz2
rockbox-6750d65f791f19097ce740cfbe12a873a915a897.zip
Reorder a bit in viewport.c so that we don't need stubs for checkwps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23511 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/checkwps/checkwps.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index 596082a798..14a1f69c0d 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -231,24 +231,6 @@ void screen_clear_area(struct screen * display, int xstart, int ystart,
}
#endif
-/* reimplement some simple stuff from viewport.c which doesnt change the skins
- validity even if the values are not correct */
-void viewport_set_fullscreen(struct viewport *vp,
- const enum screen_type screen)
-{
- vp->x = 0;
- vp->y = 0;
- vp->width = screens[screen].lcdwidth;
- vp->height = screens[screen].lcdheight;
-}
-
-void viewport_set_defaults(struct viewport *vp,
- const enum screen_type screen)
-{
- viewport_set_fullscreen(vp, screen);
-}
-
-
int main(int argc, char **argv)
{
int res;