summaryrefslogtreecommitdiff
path: root/zebra/zebra_fpm.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-05-07 08:41:33 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-05-08 08:08:04 -0400
commita78c2b98f7db3da64f0a63c95abc97feec909cb1 (patch)
treebdcb20c46aeda2c74fcc23e88fab177af911f0c1 /zebra/zebra_fpm.c
parent1d6a3ee83c65115eac84a5a35335dd9e07df36a5 (diff)
zebra: Remove typedef zfpm_msg_format_e
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_fpm.c')
-rw-r--r--zebra/zebra_fpm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/zebra/zebra_fpm.c b/zebra/zebra_fpm.c
index 25c7e923a0..71881e4c99 100644
--- a/zebra/zebra_fpm.c
+++ b/zebra/zebra_fpm.c
@@ -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;