osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmocom-bb/+/43913?usp=email )
Change subject: osmocon: fix -Werror=old-style-definition
......................................................................
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 https://gerrit.osmocom.org/c/osmocom-bb/+/43913?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I9bdb9439685c00403b5a09a81ef7bf556c709b7b
Gerrit-Change-Number: 43913
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>