forked from len0rd/rockbox
Make a few global variables static instead of global where possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24206 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3d53182cef
commit
f736159e5c
3 changed files with 10 additions and 10 deletions
14
apps/mpeg.c
14
apps/mpeg.c
|
|
@ -131,10 +131,10 @@ static struct trackdata trackdata[MAX_TRACK_ENTRIES];
|
|||
|
||||
static unsigned int current_track_counter = 0;
|
||||
|
||||
/* Play time of the previous track */
|
||||
unsigned long prev_track_elapsed;
|
||||
|
||||
#ifndef SIMULATOR
|
||||
/* Play time of the previous track */
|
||||
static unsigned long prev_track_elapsed;
|
||||
|
||||
static int track_read_idx = 0;
|
||||
static int track_write_idx = 0;
|
||||
#endif /* !SIMULATOR */
|
||||
|
|
@ -213,10 +213,10 @@ static int prerecord_count; /* Number of seconds in the prerecord buffer */
|
|||
static int prerecord_timeout; /* The tick count of the next prerecord data
|
||||
store */
|
||||
|
||||
unsigned long record_start_time; /* Value of current_tick when recording
|
||||
was started */
|
||||
unsigned long pause_start_time; /* Value of current_tick when pause was
|
||||
started */
|
||||
static unsigned long record_start_time; /* Value of current_tick when recording
|
||||
was started */
|
||||
static unsigned long pause_start_time; /* Value of current_tick when pause was
|
||||
started */
|
||||
static unsigned long last_rec_time;
|
||||
static unsigned long num_rec_bytes;
|
||||
static unsigned long last_rec_bytes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue