summaryrefslogtreecommitdiffstats
path: root/uisimulator/common
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-08-17 01:45:48 +0000
committerJens Arnold <amiconn@rockbox.org>2004-08-17 01:45:48 +0000
commit0ceaa5e365b3f6dc78269ed5c4cd43df5c0144eb (patch)
tree7fe6cbadea41f09765b631794b71d65fdbbbffbc /uisimulator/common
parentc76c568b351d37c485f78cd185b2d52d54fe7a34 (diff)
downloadrockbox-0ceaa5e365b3f6dc78269ed5c4cd43df5c0144eb.tar.gz
rockbox-0ceaa5e365b3f6dc78269ed5c4cd43df5c0144eb.tar.bz2
rockbox-0ceaa5e365b3f6dc78269ed5c4cd43df5c0144eb.zip
Const policed pointer arguments to functions, part 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
-rw-r--r--uisimulator/common/lcd-common.c2
-rw-r--r--uisimulator/common/lcd-playersim.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/common/lcd-common.c b/uisimulator/common/lcd-common.c
index f00e9a28b2..c69ef06f1f 100644
--- a/uisimulator/common/lcd-common.c
+++ b/uisimulator/common/lcd-common.c
@@ -30,7 +30,7 @@
#include "lcd-x11.h"
#endif
-void lcd_blit(unsigned char* p_data, int x, int y, int width, int height,
+void lcd_blit(const unsigned char* p_data, int x, int y, int width, int height,
int stride)
{
(void)p_data;
diff --git a/uisimulator/common/lcd-playersim.c b/uisimulator/common/lcd-playersim.c
index ed633b849f..3f3453b9a1 100644
--- a/uisimulator/common/lcd-playersim.c
+++ b/uisimulator/common/lcd-playersim.c
@@ -222,7 +222,7 @@ void lcd_double_height(bool on)
lcd_update();
}
-void lcd_define_hw_pattern(int which, char *pattern, int length)
+void lcd_define_hw_pattern(int which, const char *pattern, int length)
{
int i, j;
int pat = which / 8;