From 4d5647d076a1d7273cecd822c566ef0c80088fa4 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 7 May 2020 08:57:04 -0400 Subject: [PATCH] zebra: Remove typedef rib_tables_iter_state from system Signed-off-by: Donald Sharp --- zebra/rib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zebra/rib.h b/zebra/rib.h index e982758d0c..de7697ee44 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -287,11 +287,11 @@ typedef struct rib_table_info_t_ { } rib_table_info_t; -typedef enum { +enum rib_tables_iter_state { RIB_TABLES_ITER_S_INIT, RIB_TABLES_ITER_S_ITERATING, RIB_TABLES_ITER_S_DONE -} rib_tables_iter_state_t; +}; /* * Structure that holds state for iterating over all tables in the @@ -301,7 +301,7 @@ typedef struct rib_tables_iter_t_ { vrf_id_t vrf_id; int afi_safi_ix; - rib_tables_iter_state_t state; + enum rib_tables_iter_state state; } rib_tables_iter_t; /* Events/reasons triggering a RIB update. */