From a78c2b98f7db3da64f0a63c95abc97feec909cb1 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 7 May 2020 08:41:33 -0400 Subject: [PATCH] zebra: Remove typedef zfpm_msg_format_e Signed-off-by: Donald Sharp --- zebra/zebra_fpm.c | 7 ++++--- 1 file 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;