]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/grammar_sandbox_main.c
*: Convert thread_fetch and thread_call to event_fetch and event_call
[mirror_frr.git] / lib / grammar_sandbox_main.c
index 261a130632aea4b83e04142c9a610380515e325f..8b9a460304e796ff5608899ebb138142685769c7 100644 (file)
@@ -45,8 +45,8 @@ int main(int argc, char **argv)
        vty_stdio(vty_do_exit);
 
        /* Fetch next active thread. */
-       while (thread_fetch(master, &event))
-               thread_call(&event);
+       while (event_fetch(master, &event))
+               event_call(&event);
 
        /* Not reached. */
        exit(0);