[PATCH] libosmocore[master]: fsm_test.c: fix compiler warning: timer cb return type

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Dec 23 03:46:22 UTC 2016


Review at  https://gerrit.osmocom.org/1492

fsm_test.c: fix compiler warning: timer cb return type

Change-Id: Ifd7e85cd69b5e7e473000abc1ef7a56748aafc0e
---
M tests/fsm/fsm_test.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/92/1492/1

diff --git a/tests/fsm/fsm_test.c b/tests/fsm/fsm_test.c
index edbba9e..7a64421 100644
--- a/tests/fsm/fsm_test.c
+++ b/tests/fsm/fsm_test.c
@@ -53,7 +53,7 @@
 	}
 }
 
-static void test_fsm_tmr_cb(struct osmo_fsm_inst *fi)
+static int test_fsm_tmr_cb(struct osmo_fsm_inst *fi)
 {
 	OSMO_ASSERT(fi->T == 2342);
 	OSMO_ASSERT(fi->state == ST_TWO);

-- 
To view, visit https://gerrit.osmocom.org/1492
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd7e85cd69b5e7e473000abc1ef7a56748aafc0e
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list