1
0
Fork 0
forked from len0rd/rockbox

Make a couple of private functions 'static'

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12337 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-02-16 18:48:36 +00:00
parent 09186e31ae
commit fde64fd7a2

View file

@ -76,7 +76,7 @@ bool look_for_cuesheet_file(const char *trackpath)
} }
} }
char *skip_whitespace(char* buf) static char *skip_whitespace(char* buf)
{ {
char *r = buf; char *r = buf;
while (*r && (*r < 33)) while (*r && (*r < 33))
@ -171,7 +171,7 @@ bool parse_cuesheet(char *file, struct cuesheet *cue)
/* takes care of seeking to a track in a playlist /* takes care of seeking to a track in a playlist
* returns false if audio isn't playing */ * returns false if audio isn't playing */
bool seek(unsigned long pos) static bool seek(unsigned long pos)
{ {
if (!(audio_status() & AUDIO_STATUS_PLAY)) if (!(audio_status() & AUDIO_STATUS_PLAY))
{ {
@ -204,7 +204,7 @@ int cue_find_current_track(struct cuesheet *cue, unsigned long curpos)
} }
/* callback that gives list item titles for the cuesheet browser */ /* callback that gives list item titles for the cuesheet browser */
char *list_get_name_cb(int selected_item, static char *list_get_name_cb(int selected_item,
void *data, void *data,
char *buffer) char *buffer)
{ {
@ -224,7 +224,7 @@ char *list_get_name_cb(int selected_item,
return buffer; return buffer;
} }
void browse_cuesheet(struct cuesheet *cue) static void browse_cuesheet(struct cuesheet *cue)
{ {
struct gui_synclist lists; struct gui_synclist lists;
int action; int action;