lib: Move zebra_size_t to zclient.h who should own it

The zebra_size_t type needs to be owned by zclient.h since
it is part of the zapi protocol.  Move it to where the
structure belongs.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2019-06-02 16:05:01 -04:00
parent 64cbb7c5b7
commit 03edc41d51
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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;