clean up compiler attribute
This commit is contained in:
@@ -132,7 +132,6 @@ DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff)
|
||||
return RES_OK;
|
||||
}
|
||||
|
||||
static inline uint8_t month2number(char* p_ch) ATTR_PURE ATTR_ALWAYS_INLINE;
|
||||
static inline uint8_t month2number(char* p_ch)
|
||||
{
|
||||
char const * const month_str[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
|
||||
@@ -145,7 +144,6 @@ static inline uint8_t month2number(char* p_ch)
|
||||
return 1;
|
||||
}
|
||||
|
||||
static inline uint8_t c2i(char ch) ATTR_CONST ATTR_ALWAYS_INLINE;
|
||||
static inline uint8_t c2i(char ch)
|
||||
{
|
||||
return ch - '0';
|
||||
|
Reference in New Issue
Block a user