summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-02-16 18:48:36 +0000
committerNils Wallménius <nils@rockbox.org>2007-02-16 18:48:36 +0000
commitfde64fd7a2c12b9912d1a81568c7490ca1f990e2 (patch)
treee975e07e1d9079a15eb9267e8c4cfaccf1161af4
parent09186e31ae4409f50c1437911a413c36b381f3a4 (diff)
Make a couple of private functions 'static'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12337 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/cuesheet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c
index a309b95873..58be9fcbf4 100644
--- a/apps/cuesheet.c
+++ b/apps/cuesheet.c
@@ -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;
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
* returns false if audio isn't playing */
-bool seek(unsigned long pos)
+static bool seek(unsigned long pos)
{
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 */
-char *list_get_name_cb(int selected_item,
+static char *list_get_name_cb(int selected_item,
void *data,
char *buffer)
{
@@ -224,7 +224,7 @@ char *list_get_name_cb(int selected_item,
return buffer;
}
-void browse_cuesheet(struct cuesheet *cue)
+static void browse_cuesheet(struct cuesheet *cue)
{
struct gui_synclist lists;
int action;