Simple RAM file system.

Dependents:   modem_ref_helper_for_v5_3_217 modem_ref_helper

Revision:
7:695cb540ca6b
Parent:
6:7a6552200413
--- a/ram_fs.h	Wed Jan 27 14:45:37 2021 +0000
+++ b/ram_fs.h	Fri Jan 29 16:36:59 2021 +0000
@@ -3,11 +3,11 @@
 
 #include "mbed.h"
 
-typedef struct {
+typedef struct _ram_fs_file_t {
     uint8_t fid;
     uint8_t* header;
     uint8_t* data;
-    void* next;
+    _ram_fs_file_t* next;
 } ram_fs_file_t;
 
 void ram_fs_new(uint8_t fid, uint8_t* header, uint8_t* data);