mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
windows: add forward declaration to dpif-netlink
dpif_netlink_port_query__ is used before it is defined on Windows. Add a forward declaration to it. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-by: Sairam Venugopal <vsairam@vmware.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
This commit is contained in:
committed by
Gurucharan Shetty
parent
dc4be6562d
commit
5517b83962
@@ -60,6 +60,9 @@ VLOG_DEFINE_THIS_MODULE(dpif_netlink);
|
||||
#ifdef _WIN32
|
||||
#include "wmi.h"
|
||||
enum { WINDOWS = 1 };
|
||||
static int dpif_netlink_port_query__(const struct dpif_netlink *dpif,
|
||||
odp_port_t port_no, const char *port_name,
|
||||
struct dpif_port *dpif_port);
|
||||
#else
|
||||
enum { WINDOWS = 0 };
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user