diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-12-11 07:51:16 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 |
| commit | de2754be3a2658363828eeb3a83579ad3bad0f99 (patch) | |
| tree | 425608f8acab16eb4914148f8262db241dd82edf /lib/grammar_sandbox_main.c | |
| parent | 2ccccdf5d0b5912afab9d5aad184013efc30fb48 (diff) | |
*: Convert thread_fetch and thread_call to event_fetch and event_call
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/grammar_sandbox_main.c')
| -rw-r--r-- | lib/grammar_sandbox_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/grammar_sandbox_main.c b/lib/grammar_sandbox_main.c index 261a130632..8b9a460304 100644 --- a/lib/grammar_sandbox_main.c +++ b/lib/grammar_sandbox_main.c @@ -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); |
