Code police, declare pointers in .c and expor them

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15653 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-11-17 14:25:02 +00:00
parent 7f1fbe4af2
commit e39fc28fdc
2 changed files with 5 additions and 2 deletions

View file

@ -43,6 +43,9 @@
#define CUE_DIR ROCKBOX_DIR "/cue" #define CUE_DIR ROCKBOX_DIR "/cue"
struct cuesheet *curr_cue;
struct cuesheet *temp_cue;
#if CONFIG_CODEC != SWCODEC #if CONFIG_CODEC != SWCODEC
/* special trickery because the hwcodec playback engine is in firmware/ */ /* special trickery because the hwcodec playback engine is in firmware/ */
static bool cuesheet_handler(const char *filename) static bool cuesheet_handler(const char *filename)

View file

@ -48,8 +48,8 @@ struct cuesheet {
struct cue_track_info *curr_track; struct cue_track_info *curr_track;
}; };
struct cuesheet *curr_cue; extern struct cuesheet *curr_cue;
struct cuesheet *temp_cue; extern struct cuesheet *temp_cue;
/* returns true if cuesheet support is initialised */ /* returns true if cuesheet support is initialised */
bool cuesheet_is_enabled(void); bool cuesheet_is_enabled(void);