mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-05-02 22:43:45 +00:00
fix for compile error on gcc 4.8.
This commit is contained in:
@@ -27,11 +27,11 @@ typedef struct
|
||||
unsigned long index_size;
|
||||
} IDXFile;
|
||||
|
||||
inline unsigned char IDXRead(IDXFile *file, unsigned char *pBuffer) {
|
||||
static inline unsigned char IDXRead(IDXFile *file, unsigned char *pBuffer) {
|
||||
return FileRead(&(file->file), pBuffer);
|
||||
}
|
||||
|
||||
inline unsigned char IDXWrite(IDXFile *file, unsigned char *pBuffer) {
|
||||
static inline unsigned char IDXWrite(IDXFile *file, unsigned char *pBuffer) {
|
||||
return FileWrite(&(file->file), pBuffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user