summaryrefslogtreecommitdiffstats
path: root/apps/gui/viewport.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-10-10 08:29:13 +0000
committerNils Wallménius <nils@rockbox.org>2009-10-10 08:29:13 +0000
commit3c1e2c1777485909f29913d1ba6e60ac27fa3893 (patch)
tree4f16f3d9161d91685fbe8e6880145a57f344d266 /apps/gui/viewport.h
parent15514b0dc6dcf2761c9885356421ed771d6652c8 (diff)
downloadrockbox-3c1e2c1777485909f29913d1ba6e60ac27fa3893.tar.gz
rockbox-3c1e2c1777485909f29913d1ba6e60ac27fa3893.tar.bz2
rockbox-3c1e2c1777485909f29913d1ba6e60ac27fa3893.zip
Make function arg const pointer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23063 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/viewport.h')
-rw-r--r--apps/gui/viewport.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/viewport.h b/apps/gui/viewport.h
index 463de2b333..cedb27e01c 100644
--- a/apps/gui/viewport.h
+++ b/apps/gui/viewport.h
@@ -1,4 +1,3 @@
-
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
@@ -30,7 +29,7 @@
#include "screen_access.h"
/* return the number of text lines in the vp viewport */
-int viewport_get_nb_lines(struct viewport *vp);
+int viewport_get_nb_lines(const struct viewport *vp);
void viewport_set_defaults(struct viewport *vp, enum screen_type screen);