zebra: Remove typedef zfpm_msg_format_e

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2020-05-07 08:41:33 -04:00
parent 1d6a3ee83c
commit a78c2b98f7

View File

@ -151,11 +151,12 @@ enum zfpm_state {
/*
* Message format to be used to communicate with the FPM.
*/
typedef enum {
enum zfpm_msg_format {
ZFPM_MSG_FORMAT_NONE,
ZFPM_MSG_FORMAT_NETLINK,
ZFPM_MSG_FORMAT_PROTOBUF,
} zfpm_msg_format_e;
};
/*
* Globals.
*/
@ -169,7 +170,7 @@ typedef struct zfpm_glob_t_ {
/*
* Message format to be used to communicate with the fpm.
*/
zfpm_msg_format_e message_format;
enum zfpm_msg_format message_format;
struct thread_master *master;