From 8fb336148fb34474c67fbc6e0354daa4512a22fb Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 18 Aug 2004 01:09:31 +0000 Subject: Const policed pointer arguments to functions, part 3 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657 --- apps/talk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/talk.c') diff --git a/apps/talk.c b/apps/talk.c index 1b3dda39ed..d90d23866e 100644 --- a/apps/talk.c +++ b/apps/talk.c @@ -378,7 +378,7 @@ int talk_id(int id, bool enqueue) /* play a thumbnail from file */ -int talk_file(char* filename, bool enqueue) +int talk_file(const char* filename, bool enqueue) { int fd; int size; @@ -532,7 +532,7 @@ int talk_value(int n, int unit, bool enqueue) } /* spell a string */ -int talk_spell(char* spell, bool enqueue) +int talk_spell(const char* spell, bool enqueue) { char c; /* currently processed char */ -- cgit v1.2.3