Make kfile_test global variables static in order to avoid name overlap.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 9 Dec 2011 21:21:09 +0000 (21:21 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 9 Dec 2011 21:21:09 +0000 (21:21 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5180 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/io/kfile_test.c

index 16d6bc1610ad68e51f32257e20b4b3b83e0b0635..5661fd230cf7885da9f82c1ab7fd3cebf0df49d4 100644 (file)
@@ -63,11 +63,11 @@ MOD_DEFINE(kfile_test);
 #define BUF_TEST_LEN     3209
 
 // Buffer for test
-uint8_t test_buf[BUF_TEST_LEN];
-uint8_t test_buf_save[BUF_TEST_LEN];
+static uint8_t test_buf[BUF_TEST_LEN];
+static uint8_t test_buf_save[BUF_TEST_LEN];
 
-uint8_t test_disk[BUF_TEST_LEN];
-KFileMem mem;
+static uint8_t test_disk[BUF_TEST_LEN];
+static KFileMem mem;
 
 /*
  * Help function to init disk and the buffers.