summaryrefslogtreecommitdiff
path: root/cesar/cp2/fsm/fsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp2/fsm/fsm.h')
-rw-r--r--cesar/cp2/fsm/fsm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cesar/cp2/fsm/fsm.h b/cesar/cp2/fsm/fsm.h
index 70801b8269..7db3a7ed39 100644
--- a/cesar/cp2/fsm/fsm.h
+++ b/cesar/cp2/fsm/fsm.h
@@ -58,7 +58,9 @@ cp_fsm_post (cp_t *ctx, cp_fsm_event_t *event);
* The selected branch must correspond to the current handled transition.
*/
void
-cp_fsm_branch (cp_t *ctx, cp_fsm_branch_t branch);
+cp_fsm_branch_ (cp_t *ctx, cp_fsm_branch_t branch);
+#define cp_fsm_branch(ctx, state, event, branch) \
+ cp_fsm_branch_ ((ctx), CP_FSM_BRANCH (state, event, branch))
END_DECLS