summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/cuesheet.c3
-rw-r--r--apps/cuesheet.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c
index 0928ac7..e779c8f 100644
--- a/apps/cuesheet.c
+++ b/apps/cuesheet.c
@@ -43,6 +43,9 @@
#define CUE_DIR ROCKBOX_DIR "/cue"
+struct cuesheet *curr_cue;
+struct cuesheet *temp_cue;
+
#if CONFIG_CODEC != SWCODEC
/* special trickery because the hwcodec playback engine is in firmware/ */
static bool cuesheet_handler(const char *filename)
diff --git a/apps/cuesheet.h b/apps/cuesheet.h
index 76ffe96..d5a7504 100644
--- a/apps/cuesheet.h
+++ b/apps/cuesheet.h
@@ -48,8 +48,8 @@ struct cuesheet {
struct cue_track_info *curr_track;
};
-struct cuesheet *curr_cue;
-struct cuesheet *temp_cue;
+extern struct cuesheet *curr_cue;
+extern struct cuesheet *temp_cue;
/* returns true if cuesheet support is initialised */
bool cuesheet_is_enabled(void);