From: oharboe Date: Fri, 8 May 2009 18:54:59 +0000 (+0000) Subject: Michael Fischer fix compile problems on Mac X-Git-Tag: v0.2.0~827 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5f7791474b205858421fc3c05334b9374735776d;p=openocd Michael Fischer fix compile problems on Mac git-svn-id: svn://svn.berlios.de/openocd/trunk@1678 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/flash/cfi.c b/src/flash/cfi.c index b4bb6053..edc4645f 100644 --- a/src/flash/cfi.c +++ b/src/flash/cfi.c @@ -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)