diff --git a/lib/zclient.h b/lib/zclient.h index c707f498c4..d651738687 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -38,6 +38,9 @@ #include "mlag.h" +/* Zebra types. Used in Zserv message header. */ +typedef uint16_t zebra_size_t; + /* Marker value used in new Zserv, in the byte location corresponding * the command value in the old zserv header. To allow old and new * Zserv headers to be distinguished from each other. diff --git a/lib/zebra.h b/lib/zebra.h index 303b511bad..2f9ada09be 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -432,9 +432,6 @@ typedef enum { #define RESET_FLAG_ATOMIC(PV) \ ((atomic_store_explicit(PV, 0, memory_order_seq_cst))) -/* Zebra types. Used in Zserv message header. */ -typedef uint16_t zebra_size_t; - /* VRF ID type. */ typedef uint32_t vrf_id_t;