diff --git a/apps/cuesheet.c b/apps/cuesheet.c index 0928ac7e46..e779c8f07d 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 76ffe9681d..d5a7504b49 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);