summaryrefslogtreecommitdiff
path: root/firmware/mp3data.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mp3data.c')
-rw-r--r--firmware/mp3data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/mp3data.c b/firmware/mp3data.c
index 25e40f897a..80870cd8cd 100644
--- a/firmware/mp3data.c
+++ b/firmware/mp3data.c
@@ -550,6 +550,7 @@ int get_mp3file_info(int fd, struct mp3info *info)
550 return bytecount; 550 return bytecount;
551} 551}
552 552
553#ifndef __PCTOOL__
553static void long2bytes(unsigned char *buf, long val) 554static void long2bytes(unsigned char *buf, long val)
554{ 555{
555 buf[0] = (val >> 24) & 0xff; 556 buf[0] = (val >> 24) & 0xff;
@@ -558,7 +559,6 @@ static void long2bytes(unsigned char *buf, long val)
558 buf[3] = val & 0xff; 559 buf[3] = val & 0xff;
559} 560}
560 561
561#ifndef __PCTOOL__
562int count_mp3_frames(int fd, int startpos, int filesize, 562int count_mp3_frames(int fd, int startpos, int filesize,
563 void (*progressfunc)(int)) 563 void (*progressfunc)(int))
564{ 564{