summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-23 04:32:09 +0100
committerHarald Welte <laforge@gnumonks.org>2016-12-24 17:11:52 +0000
commitcba8eb9b21afd26ce65ef5098f6a178bce800bb7 (patch)
treefe89270ce39a61bbd67c94076f974c74f940c0ea /tests
parent1514f34dcfed3a8c46678861c488f7dbde856957 (diff)
fsm_test.c: fix compiler warning: timer cb return type
Change-Id: Ifd7e85cd69b5e7e473000abc1ef7a56748aafc0e
Diffstat (limited to 'tests')
-rw-r--r--tests/fsm/fsm_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fsm/fsm_test.c b/tests/fsm/fsm_test.c
index edbba9ef..7a644213 100644
--- a/tests/fsm/fsm_test.c
+++ b/tests/fsm/fsm_test.c
@@ -53,7 +53,7 @@ static void test_fsm_one(struct osmo_fsm_inst *fi, uint32_t event, void *data)
}
}
-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);