1
0
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:
Rok Krajnc
2015-11-24 09:54:11 +01:00
parent 63f8ef7c94
commit ccb4fc4025

View File

@@ -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);
}