osmith has uploaded this change for review.
osmocon: fix -Werror=old-style-definition
Fix for:
osmoload.c:636:1: error: old-style function definition [-Werror=old-style-definition]
Change-Id: I9bdb9439685c00403b5a09a81ef7bf556c709b7b
---
M src/host/osmocon/osmoload.c
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/13/43913/1
diff --git a/src/host/osmocon/osmoload.c b/src/host/osmocon/osmoload.c
index b2f14bb..47c62da 100644
--- a/src/host/osmocon/osmoload.c
+++ b/src/host/osmocon/osmoload.c
@@ -205,8 +205,8 @@
}
static void loader_do_memdump(uint16_t crc, void *address, size_t length);
-static void loader_do_memload();
-static void loader_do_fprogram();
+static void loader_do_memload(void);
+static void loader_do_fprogram(void);
static void loader_do_flashrange(uint8_t cmd, struct msgb *msg, uint8_t chip, uint32_t address, uint32_t status);
static void memop_timeout(void *dummy) {
@@ -633,7 +633,7 @@
}
static void
-loader_do_memload() {
+loader_do_memload(void) {
uint32_t rembytes = osmoload.memlen - osmoload.memoff;
if(!rembytes) {
@@ -673,7 +673,7 @@
}
static void
-loader_do_fprogram() {
+loader_do_fprogram(void) {
uint32_t rembytes = osmoload.memlen - osmoload.memoff;
if(!rembytes) {
To view, visit change 43913. To unsubscribe, or for help writing mail filters, visit settings.