From e16d030c65ca97b1ba68b93ada93b1d4edde59d3 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sun, 25 Dec 2022 10:26:52 -0500 Subject: *: Convert THREAD_XXX macros to EVENT_XXX macros Signed-off-by: Donald Sharp --- zebra/zebra_netns_notify.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zebra/zebra_netns_notify.c') diff --git a/zebra/zebra_netns_notify.c b/zebra/zebra_netns_notify.c index 9ceecb5e9..5ccff635f 100644 --- a/zebra/zebra_netns_notify.c +++ b/zebra/zebra_netns_notify.c @@ -231,7 +231,7 @@ static bool zebra_ns_notify_is_default_netns(const char *name) static void zebra_ns_ready_read(struct event *t) { - struct zebra_netns_info *zns_info = THREAD_ARG(t); + struct zebra_netns_info *zns_info = EVENT_ARG(t); const char *netnspath; int err, stop_retry = 0; @@ -282,7 +282,7 @@ static void zebra_ns_ready_read(struct event *t) static void zebra_ns_notify_read(struct event *t) { - int fd_monitor = THREAD_FD(t); + int fd_monitor = EVENT_FD(t); struct inotify_event *event; char buf[BUFSIZ]; ssize_t len; @@ -442,7 +442,7 @@ void zebra_ns_notify_close(void) fd = zebra_netns_notify_current->u.fd; if (zebra_netns_notify_current->master != NULL) - THREAD_OFF(zebra_netns_notify_current); + EVENT_OFF(zebra_netns_notify_current); /* auto-removal of notify items */ if (fd > 0) -- cgit v1.2.3