summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-03-30 20:55:27 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-04-01 03:18:41 +0200
commitc8111eb5b7c8ce7c6790904183ab022619eb268b (patch)
treebc8b8e398f89f6d8a7daeebb544401a02cfa97c8
parent849320422c4eb4beae8ddd041dfcd68064ff6aa2 (diff)
downloadrockbox-c8111eb5b7c8ce7c6790904183ab022619eb268b.tar.gz
rockbox-c8111eb5b7c8ce7c6790904183ab022619eb268b.tar.bz2
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.c2
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)
/* address must be in an erased location */
-inline bool ProgramByte(volatile UINT8* pAddr, UINT8 data)
+static inline bool ProgramByte(volatile UINT8* pAddr, UINT8 data)
{
#ifdef DUMMY
(void)pAddr; /* prevents warnings */