diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-09 17:42:54 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-09 17:42:54 +0000 |
| commit | f736159e5c0fe543aac10c5cd44ea1e0ede264ef (patch) | |
| tree | 5c81ccdd3a44034d08532d5c7ce53cbe39d1bda1 /apps/mpeg.c | |
| parent | 3d53182cef03b7d6581ae972d651f5c64d2448b0 (diff) | |
| download | rockbox-f736159e5c0fe543aac10c5cd44ea1e0ede264ef.zip rockbox-f736159e5c0fe543aac10c5cd44ea1e0ede264ef.tar.gz rockbox-f736159e5c0fe543aac10c5cd44ea1e0ede264ef.tar.bz2 rockbox-f736159e5c0fe543aac10c5cd44ea1e0ede264ef.tar.xz | |
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
Diffstat (limited to 'apps/mpeg.c')
| -rw-r--r-- | apps/mpeg.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/mpeg.c b/apps/mpeg.c index 514379c..eb2cc73 100644 --- a/apps/mpeg.c +++ b/apps/mpeg.c @@ -131,10 +131,10 @@ static struct trackdata trackdata[MAX_TRACK_ENTRIES]; static unsigned int current_track_counter = 0; +#ifndef SIMULATOR /* Play time of the previous track */ -unsigned long prev_track_elapsed; +static unsigned long prev_track_elapsed; -#ifndef SIMULATOR 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; |