Browse Source

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
tags/v0.2.0
oharboe 15 years ago
parent
commit
5f7791474b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/flash/cfi.c

+ 1
- 1
src/flash/cfi.c 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)


Loading…
Cancel
Save