Michael Fischer <fischermi@t-online.de> fix compile problems on Mac

git-svn-id: svn://svn.berlios.de/openocd/trunk@1678 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
oharboe 2009-05-08 18:54:59 +00:00
parent 5ff0317aa3
commit 5f7791474b
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ static void cfi_fixup(flash_bank_t *bank, cfi_fixup_t *fixups)
}
/* inline u32 flash_address(flash_bank_t *bank, int sector, u32 offset) */
__inline__ u32 flash_address(flash_bank_t *bank, int sector, u32 offset)
static __inline__ u32 flash_address(flash_bank_t *bank, int sector, u32 offset)
{
/* while the sector list isn't built, only accesses to sector 0 work */
if (sector == 0)