summaryrefslogtreecommitdiff
path: root/vrrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-02-28 10:40:31 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 08:32:16 -0400
commitcb37cb336a2cca77bfbaf6b0cfab12e847e45623 (patch)
treedef5299d18d1d91fa9e28108c139ca6146e866ed /vrrpd
parent173786f6b5ef46df268faf0341f546d03ee90c2c (diff)
*: Rename thread.[ch] to event.[ch]
This is a first in a series of commits, whose goal is to rename the thread system in FRR to an event system. There is a continual problem where people are confusing `struct thread` with a true pthread. In reality, our entire thread.c is an event system. In this commit rename the thread.[ch] files to event.[ch]. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'vrrpd')
-rw-r--r--vrrpd/vrrp.h2
-rw-r--r--vrrpd/vrrp_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/vrrpd/vrrp.h b/vrrpd/vrrp.h
index 9da9c8a518..5cdba8677d 100644
--- a/vrrpd/vrrp.h
+++ b/vrrpd/vrrp.h
@@ -18,7 +18,7 @@
#include "lib/northbound.h"
#include "lib/privs.h"
#include "lib/stream.h"
-#include "lib/thread.h"
+#include "lib/event.h"
#include "lib/vty.h"
/* Global definitions */
diff --git a/vrrpd/vrrp_main.c b/vrrpd/vrrp_main.c
index d3d230d205..90c3a77721 100644
--- a/vrrpd/vrrp_main.c
+++ b/vrrpd/vrrp_main.c
@@ -18,7 +18,7 @@
#include "lib/nexthop.h"
#include "lib/privs.h"
#include "lib/sigevent.h"
-#include "lib/thread.h"
+#include "lib/event.h"
#include "lib/vrf.h"
#include "lib/vty.h"