[MERGED] 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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Dec 24 17:11:53 UTC 2016


Harald Welte has submitted this change and it was merged.

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


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: Ifd7e85cd69b5e7e473000abc1ef7a56748aafc0e
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list