diff options
| -rw-r--r-- | talpid-core/src/dns/windows/mod.rs | 1 | ||||
| -rw-r--r-- | talpid-core/src/tunnel/wireguard/wireguard_go.rs | 10 |
2 files changed, 5 insertions, 6 deletions
diff --git a/talpid-core/src/dns/windows/mod.rs b/talpid-core/src/dns/windows/mod.rs index bf3807c9b6..66a361e9be 100644 --- a/talpid-core/src/dns/windows/mod.rs +++ b/talpid-core/src/dns/windows/mod.rs @@ -251,7 +251,6 @@ ffi_error!(SettingResult, Error::Setting); #[allow(non_snake_case)] extern "stdcall" { - #[link_name = "WinDns_Initialize"] pub fn WinDns_Initialize( sink: Option<LogSink>, diff --git a/talpid-core/src/tunnel/wireguard/wireguard_go.rs b/talpid-core/src/tunnel/wireguard/wireguard_go.rs index e1ded8b3a0..4f62c02c76 100644 --- a/talpid-core/src/tunnel/wireguard/wireguard_go.rs +++ b/talpid-core/src/tunnel/wireguard/wireguard_go.rs @@ -330,11 +330,11 @@ pub type LoggingCallback = unsafe extern "system" fn( ); extern "C" { - // Creates a new wireguard tunnel, uses the specific interface name, MTU and file descriptors - // for the tunnel device and logging. - // - // Positive return values are tunnel handles for this specific wireguard tunnel instance. - // Negative return values signify errors. All error codes are opaque. + /// Creates a new wireguard tunnel, uses the specific interface name, MTU and file descriptors + /// for the tunnel device and logging. + /// + /// Positive return values are tunnel handles for this specific wireguard tunnel instance. + /// Negative return values signify errors. All error codes are opaque. #[cfg(not(any(target_os = "android", target_os = "windows")))] fn wgTurnOn( mtu: isize, |
