From: Frank Lichtenheld <[email protected]> This function was removed in commit 1625d927fc79e2926015ded06a01fd8e460a4bc7, but the declaration and the non-Windows definition were left behind.
Identified by cppcheck. Change-Id: I395cc722d53201d775c20ae3cf9d50149bfc90ed Signed-off-by: Frank Lichtenheld <[email protected]> Acked-by: Gert Doering <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1863 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1863 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Gert Doering <[email protected]> diff --git a/src/openvpn/dco_win.h b/src/openvpn/dco_win.h index ac3ce33..a92e5ad 100644 --- a/src/openvpn/dco_win.h +++ b/src/openvpn/dco_win.h @@ -65,8 +65,6 @@ void dco_p2p_new_peer(HANDLE handle, OVERLAPPED *ov, struct link_socket *sock, struct signal_info *sig_info); -void dco_start_tun(struct tuntap *tt); - bool dco_win_supports_multipeer(void); void dco_win_add_iroute_ipv4(dco_context_t *dco, in_addr_t dst, unsigned int netbits, @@ -79,13 +77,5 @@ void dco_win_del_iroute_ipv6(dco_context_t *dco, struct in6_addr dst, unsigned int netbits); -#else /* if defined(ENABLE_DCO) && defined(_WIN32) */ - -static inline void -dco_start_tun(struct tuntap *tt) -{ - ASSERT(false); -} - #endif /* defined(_WIN32) */ #endif /* ifndef DCO_H */ _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
