The existing code throws a warning when compiled with the Windows 10 SDK: 'typedef ': ignored on left of 'NAT_ACTION' when no variable is declared
Signed-off-by: Shashank Ram <[email protected]> --- datapath-windows/ovsext/Conntrack.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datapath-windows/ovsext/Conntrack.h b/datapath-windows/ovsext/Conntrack.h index fcdd96e..04ca299 100644 --- a/datapath-windows/ovsext/Conntrack.h +++ b/datapath-windows/ovsext/Conntrack.h @@ -69,14 +69,14 @@ typedef struct MD_LABELS { struct ovs_key_ct_labels mask; } MD_LABELS; -typedef enum NAT_ACTION { +typedef enum _NAT_ACTION { NAT_ACTION_NONE = 0, NAT_ACTION_REVERSE = 1 << 0, NAT_ACTION_SRC = 1 << 1, NAT_ACTION_SRC_PORT = 1 << 2, NAT_ACTION_DST = 1 << 3, NAT_ACTION_DST_PORT = 1 << 4, -}; +} NAT_ACTION; typedef struct _OVS_CT_KEY { struct ct_endpoint src; -- 2.9.3.windows.2 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
