From cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sun, 11 Jan 2015 18:02:43 +0100 Subject: Make a few local variables static Change-Id: Ieb77a7f2cdf765afa3121320d03c0478cd97eb0f --- firmware/drivers/ramdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/drivers/ramdisk.c') 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 @@ #define SECTOR_SIZE 512 #define NUM_SECTORS 16384 -unsigned char ramdisk[SECTOR_SIZE * NUM_SECTORS]; +static unsigned char ramdisk[SECTOR_SIZE * NUM_SECTORS]; -long last_disk_activity = -1; +static long last_disk_activity = -1; int ramdisk_read_sectors(IF_MD(int drive,) unsigned long start, -- cgit v1.2.3