summaryrefslogtreecommitdiff
path: root/test/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/hooks.c')
-rw-r--r--test/hooks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/hooks.c b/test/hooks.c
index e688e610c2..0e3c4f0e0e 100644
--- a/test/hooks.c
+++ b/test/hooks.c
@@ -40,6 +40,7 @@ static void tick2_hook(void)
tick2_hook_count++;
tick_count_seen_by_tick2 = tick_hook_count;
}
+/* tick2_hook() prio means it should be called after tick_hook() */
DECLARE_HOOK(HOOK_TICK, tick2_hook, HOOK_PRIO_DEFAULT+1);
static void second_hook(void)