diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-21 16:43:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-21 16:43:38 -0400 |
| commit | 5349270f128c81769b0bc99c8cbcbcb1e3d1034e (patch) | |
| tree | 108a2cec1cce02032550d07068ac8ecee32e404d /lib/thread.c | |
| parent | 173c7642f2d7e1b2f897002c4cab3278a0730e22 (diff) | |
| parent | 156d4463e4631016a854a3d6a918ebdbd7ea8635 (diff) | |
Merge pull request #4374 from opensourcerouting/typesafe-minor-fixes
Minor fixes in the typesafe API for better C++ compatibility
Diffstat (limited to 'lib/thread.c')
| -rw-r--r-- | lib/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread.c b/lib/thread.c index 9489e3e923..7a9a0ab608 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -1034,7 +1034,7 @@ static void do_thread_cancel(struct thread_master *master) if (cr->eventobj) { struct thread *t; - for_each_safe(thread_list, &master->event, t) { + frr_each_safe(thread_list, &master->event, t) { if (t->arg != cr->eventobj) continue; thread_list_del(&master->event, t); @@ -1043,7 +1043,7 @@ static void do_thread_cancel(struct thread_master *master) thread_add_unuse(master, t); } - for_each_safe(thread_list, &master->ready, t) { + frr_each_safe(thread_list, &master->ready, t) { if (t->arg != cr->eventobj) continue; thread_list_del(&master->ready, t); |
