mirror of https://gerrit.osmocom.org/libosmocore
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
This commit is contained in:
parent
f9c2c56c7d
commit
8b25a3f5c3
|
@ -115,7 +115,7 @@ void osmo_fsm_log_addr(bool log_addr);
|
|||
osmo_fsm_state_name((fi)->fsm, (fi)->state), ## args)
|
||||
|
||||
int osmo_fsm_register(struct osmo_fsm *fsm);
|
||||
|
||||
void osmo_fsm_unregister(struct osmo_fsm *fsm);
|
||||
struct osmo_fsm_inst *osmo_fsm_inst_alloc(struct osmo_fsm *fsm, void *ctx, void *priv,
|
||||
int log_level, const char *id);
|
||||
struct osmo_fsm_inst *osmo_fsm_inst_alloc_child(struct osmo_fsm *fsm,
|
||||
|
|
|
@ -151,5 +151,6 @@ int main(int argc, char **argv)
|
|||
osmo_select_main(0);
|
||||
}
|
||||
|
||||
osmo_fsm_unregister(&fsm);
|
||||
exit(0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue