diff options
author | Nils Wallménius <nils@rockbox.org> | 2010-12-27 10:46:29 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2010-12-27 10:46:29 +0000 |
commit | 0ba13e45f09f8df00c8204e192d2652507516fbb (patch) | |
tree | 9db5cf5087b9dccbfaf36416675e20fb8206446c /apps | |
parent | b8bf7cb5edfbff1b440bb749d55c353a9fa081f7 (diff) | |
download | rockbox-0ba13e45f09f8df00c8204e192d2652507516fbb.tar.gz rockbox-0ba13e45f09f8df00c8204e192d2652507516fbb.zip |
Fix warning about using static vars in non static inline functions with gcc 4.5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28911 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/iriver_flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c index 67ea090cf2..4e84cc4c0c 100644 --- a/apps/plugins/iriver_flash.c +++ b/apps/plugins/iriver_flash.c | |||
@@ -116,7 +116,7 @@ bool cfi_erase_sector(volatile uint16_t* pAddr) | |||
116 | 116 | ||
117 | 117 | ||
118 | /* address must be in an erased location */ | 118 | /* address must be in an erased location */ |
119 | inline bool cfi_program_word(volatile uint16_t* pAddr, uint16_t data) | 119 | static inline bool cfi_program_word(volatile uint16_t* pAddr, uint16_t data) |
120 | { | 120 | { |
121 | unsigned timeout = 85; /* the timeout loop should be no less than 20us */ | 121 | unsigned timeout = 85; /* the timeout loop should be no less than 20us */ |
122 | 122 | ||