diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-08 18:54:59 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-08 18:54:59 +0000 |
commit | 5f7791474b205858421fc3c05334b9374735776d (patch) | |
tree | 85e3d9156dddd16edc09ca6ba440ebc0d39b320a /src/flash | |
parent | 5ff0317aa344ed311ab11d257701d3ea2932d77e (diff) | |
download | openocd_libswd-5f7791474b205858421fc3c05334b9374735776d.tar.gz openocd_libswd-5f7791474b205858421fc3c05334b9374735776d.tar.bz2 openocd_libswd-5f7791474b205858421fc3c05334b9374735776d.tar.xz openocd_libswd-5f7791474b205858421fc3c05334b9374735776d.zip |
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
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/cfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |