1
0
Fork 0
forked from len0rd/rockbox

Const policed pointer arguments to functions, part 1

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-08-16 23:37:23 +00:00
parent 8b131ac1fb
commit c76c568b35
20 changed files with 48 additions and 45 deletions

View file

@ -803,7 +803,7 @@ static void transfer_end(unsigned char** ppbuf, int* psize)
wake_up_thread();
}
static int add_track_to_tag_list(char *filename)
static int add_track_to_tag_list(const char *filename)
{
struct id3tag *t = NULL;
int i;
@ -938,7 +938,7 @@ static void track_change(void)
}
#ifdef DEBUG
void hexdump(unsigned char *buf, int len)
void hexdump(const unsigned char *buf, int len)
{
int i;
@ -2167,7 +2167,7 @@ static void init_recording(void)
call mpeg_set_recording_options(). */
}
void mpeg_record(char *filename)
void mpeg_record(const char *filename)
{
mpeg_errno = 0;
@ -2396,7 +2396,7 @@ void mpeg_set_recording_gain(int left, int right, bool use_mic)
0x0007);
}
void mpeg_new_file(char *filename)
void mpeg_new_file(const char *filename)
{
mpeg_errno = 0;