diff --git a/framework/FileSystem.h b/framework/FileSystem.h index 48466a5..d00ed85 100644 --- a/framework/FileSystem.h +++ b/framework/FileSystem.h @@ -109,14 +109,14 @@ typedef struct fileDownload_s { void * buffer; } fileDownload_t; -typedef struct backgroundDownload_s { - struct backgroundDownload_s *next; // set by the fileSystem +struct backgroundDownload_t { + backgroundDownload_t *next; // set by the fileSystem dlType_t opcode; idFile * f; fileDownload_t file; urlDownload_t url; volatile bool completed; -} backgroundDownload_t; +}; // file list for directory listings class idFileList { diff --git a/sys/sys_public.h b/sys/sys_public.h index 2c844d7..6813bae 100644 --- a/sys/sys_public.h +++ b/sys/sys_public.h @@ -102,15 +102,15 @@ typedef enum { M_DELTAZ } sys_mEvents; -typedef struct sysEvent_s { +struct sysEvent_t { sysEventType_t evType; int evValue; int evValue2; int evPtrLength; // bytes of data pointed to by evPtr, for journaling void * evPtr; // this must be manually freed if not NULL -} sysEvent_t; +}; -typedef struct sysMemoryStats_s { +struct sysMemoryStats_t { int memoryLoad; int totalPhysical; int availPhysical; @@ -119,7 +119,7 @@ typedef struct sysMemoryStats_s { int totalVirtual; int availVirtual; int availExtendedVirtual; -} sysMemoryStats_t; +}; template class idList; // for Sys_ListFiles