Make kfile_test global variables static in order to avoid name overlap.
[bertos.git] / 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.