diff --git a/src/raw/srv.rs b/src/raw/srv.rs index 716a4cf..f06a1b4 100644 --- a/src/raw/srv.rs +++ b/src/raw/srv.rs @@ -1,7 +1,6 @@ use super::*; use super::super::{Result, Handle}; -#[link(name="ctru")] extern "C" { pub fn srvInit() -> Result; pub fn srvExit() -> Result; diff --git a/src/raw/svc.rs b/src/raw/svc.rs index 1cac114..6fcce62 100644 --- a/src/raw/svc.rs +++ b/src/raw/svc.rs @@ -258,7 +258,6 @@ impl Clone for DebugEventInfo { // getLocalThreadStorage and getThreadCommandBuffer can't be implemented // due to asm. Custom build step may be necessary. -#[link(name="ctru")] extern "C" { pub fn svcControlMemory(addr_out: *mut u32, addr0: u32, addr1: u32, size: u32, op: MemOp, perm: MemPerm) -> s32; pub fn svcQueryMemory(info: *mut MemInfo, out: *mut PageInfo, addr: u32) -> s32;