diff options
author | Thomas Jarosch <tomj@simonv.com> | 2015-01-11 18:02:43 +0100 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2015-01-11 18:02:43 +0100 |
commit | cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f (patch) | |
tree | 63944006054f4389ef6b189da42cb01c85100cdd /firmware/drivers/ramdisk.c | |
parent | 5f5a83e1c9c847a974609e901cf58125f1ef6b84 (diff) | |
download | rockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.tar.gz rockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.zip |
Make a few local variables static
Change-Id: Ieb77a7f2cdf765afa3121320d03c0478cd97eb0f
Diffstat (limited to 'firmware/drivers/ramdisk.c')
-rw-r--r-- | firmware/drivers/ramdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ramdisk.c b/firmware/drivers/ramdisk.c index c1f8824c93..44235c4575 100644 --- a/firmware/drivers/ramdisk.c +++ b/firmware/drivers/ramdisk.c | |||
@@ -27,9 +27,9 @@ | |||
27 | #define SECTOR_SIZE 512 | 27 | #define SECTOR_SIZE 512 |
28 | #define NUM_SECTORS 16384 | 28 | #define NUM_SECTORS 16384 |
29 | 29 | ||
30 | unsigned char ramdisk[SECTOR_SIZE * NUM_SECTORS]; | 30 | static unsigned char ramdisk[SECTOR_SIZE * NUM_SECTORS]; |
31 | 31 | ||
32 | long last_disk_activity = -1; | 32 | static long last_disk_activity = -1; |
33 | 33 | ||
34 | int ramdisk_read_sectors(IF_MD(int drive,) | 34 | int ramdisk_read_sectors(IF_MD(int drive,) |
35 | unsigned long start, | 35 | unsigned long start, |