aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fsm/fsm_test.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-11-01 11:02:17 +0100
committerMax <msuraev@sysmocom.de>2016-11-02 08:56:29 +0000
commit8b25a3f5c38a9297f9213cb6e70b7599ba999fbe (patch)
treeab635d20c3416d750573e389c5c4354144fe8124 /tests/fsm/fsm_test.c
parentf9c2c56c7d05dfdb076840a6c091d6341db725d4 (diff)
Add osmo_fsm_unregister() to header
Previously function was defined but not exposed so there were a way to register FSM but no way to unregister it. Change-Id: I2e749d896009784b77d6d5952fcc38e1c131db2b
Diffstat (limited to 'tests/fsm/fsm_test.c')
-rw-r--r--tests/fsm/fsm_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fsm/fsm_test.c b/tests/fsm/fsm_test.c
index 84c2ae4d..29b31efc 100644
--- a/tests/fsm/fsm_test.c
+++ b/tests/fsm/fsm_test.c
@@ -151,5 +151,6 @@ int main(int argc, char **argv)
osmo_select_main(0);
}
+ osmo_fsm_unregister(&fsm);
exit(0);
}