From 5f7791474b205858421fc3c05334b9374735776d Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 8 May 2009 18:54:59 +0000 Subject: [PATCH] Michael Fischer fix compile problems on Mac git-svn-id: svn://svn.berlios.de/openocd/trunk@1678 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/cfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5