summaryrefslogtreecommitdiffstats
path: root/src/fsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsm.c')
-rw-r--r--src/fsm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fsm.c b/src/fsm.c
index 666dbe37..0e2c9be4 100644
--- a/src/fsm.c
+++ b/src/fsm.c
@@ -87,7 +87,7 @@
*
*/
-static LLIST_HEAD(g_fsms);
+LLIST_HEAD(osmo_g_fsms);
static bool fsm_log_addr = true;
/*! \brief specify if FSM instance addresses should be logged or not
@@ -106,7 +106,7 @@ void osmo_fsm_log_addr(bool log_addr)
struct osmo_fsm *osmo_fsm_find_by_name(const char *name)
{
struct osmo_fsm *fsm;
- llist_for_each_entry(fsm, &g_fsms, list) {
+ llist_for_each_entry(fsm, &osmo_g_fsms, list) {
if (!strcmp(name, fsm->name))
return fsm;
}
@@ -125,7 +125,7 @@ int osmo_fsm_register(struct osmo_fsm *fsm)
{
if (osmo_fsm_find_by_name(fsm->name))
return -EEXIST;
- llist_add_tail(&fsm->list, &g_fsms);
+ llist_add_tail(&fsm->list, &osmo_g_fsms);
INIT_LLIST_HEAD(&fsm->instances);
return 0;