diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-03-02 15:19:05 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-03-02 15:19:05 +0100 |
commit | 91f2045d5339b27b513bb5e9a842780b189dac59 (patch) | |
tree | 4f800077f0d0c6ad55a99aaf34f074a0bef7a3ff /lib | |
parent | ospfd: Convert `enum event` to `enum ospf_apiserver_event` (diff) | |
download | frr-91f2045d5339b27b513bb5e9a842780b189dac59.tar.xz frr-91f2045d5339b27b513bb5e9a842780b189dac59.zip |
lib: Fix zclient.c `enum event` to `enum zclient_event`
zclient.c is using `enum event` let's rename it to a better
named data structure `enum zclient_event`.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zclient.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index cfccb2166..930adf6a7 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -47,10 +47,10 @@ DEFINE_MTYPE_STATIC(LIB, ZCLIENT, "Zclient"); DEFINE_MTYPE_STATIC(LIB, REDIST_INST, "Redistribution instance IDs"); /* Zebra client events. */ -enum event { ZCLIENT_SCHEDULE, ZCLIENT_READ, ZCLIENT_CONNECT }; +enum zclient_event { ZCLIENT_SCHEDULE, ZCLIENT_READ, ZCLIENT_CONNECT }; /* Prototype for event manager. */ -static void zclient_event(enum event, struct zclient *); +static void zclient_event(enum zclient_event, struct zclient *); static void zebra_interface_if_set_value(struct stream *s, struct interface *ifp); @@ -4038,7 +4038,7 @@ void zclient_redistribute_default(int command, struct zclient *zclient, zebra_redistribute_default_send(command, zclient, afi, vrf_id); } -static void zclient_event(enum event event, struct zclient *zclient) +static void zclient_event(enum zclient_event event, struct zclient *zclient) { switch (event) { case ZCLIENT_SCHEDULE: |