diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-03-30 20:55:27 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-01 03:18:41 +0200 |
commit | c8111eb5b7c8ce7c6790904183ab022619eb268b (patch) | |
tree | bc8b8e398f89f6d8a7daeebb544401a02cfa97c8 | |
parent | 849320422c4eb4beae8ddd041dfcd68064ff6aa2 (diff) | |
download | rockbox-c8111eb5b7c8ce7c6790904183ab022619eb268b.tar.gz rockbox-c8111eb5b7c8ce7c6790904183ab022619eb268b.zip |
archos: Shut up a compiler warning by marking an inline function as static
Change-Id: I6222b87159235a28f2b69b512f95eafb8dd60564
-rw-r--r-- | apps/plugins/firmware_flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/firmware_flash.c b/apps/plugins/firmware_flash.c index 24fb3395b6..36b8873a8c 100644 --- a/apps/plugins/firmware_flash.c +++ b/apps/plugins/firmware_flash.c | |||
@@ -198,7 +198,7 @@ bool EraseSector(volatile UINT8* pAddr) | |||
198 | 198 | ||
199 | 199 | ||
200 | /* address must be in an erased location */ | 200 | /* address must be in an erased location */ |
201 | inline bool ProgramByte(volatile UINT8* pAddr, UINT8 data) | 201 | static inline bool ProgramByte(volatile UINT8* pAddr, UINT8 data) |
202 | { | 202 | { |
203 | #ifdef DUMMY | 203 | #ifdef DUMMY |
204 | (void)pAddr; /* prevents warnings */ | 204 | (void)pAddr; /* prevents warnings */ |