summaryrefslogtreecommitdiffstats
path: root/src/host/osmocon
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-06-12 17:14:53 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-06-13 13:48:17 +0200
commitac37f55b1ce213d1a829c85b3739fe9c61104f2e (patch)
tree5b0e3d64a4795d67b12a3e71ba27d58111a50e12 /src/host/osmocon
parentf5481937a7f52dc6ca5b6505a82819186a3f1366 (diff)
osmoload: Set compiler attr to unused function
Function is not removed as documentation of the load process capabilities. Change-Id: I8e838cbb5ae7c9a2f4d0e249fc14f7cbcbc2cb07
Diffstat (limited to 'src/host/osmocon')
-rw-r--r--src/host/osmocon/osmoload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/osmocon/osmoload.c b/src/host/osmocon/osmoload.c
index 8ce755dd..1c20382d 100644
--- a/src/host/osmocon/osmoload.c
+++ b/src/host/osmocon/osmoload.c
@@ -551,7 +551,7 @@ loader_send_flash_query(uint8_t command, uint8_t chip, uint32_t address) {
osmoload.command = command;
}
-static void
+static void __attribute__((__unused__))
loader_start_flash_query(uint8_t command, uint8_t chip, uint32_t address) {
loader_send_flash_query(command, chip, address);
osmoload.state = STATE_QUERY_PENDING;