From d9ebc62981cb438d9f7ef23f9d1e35d1c4448e25 Mon Sep 17 00:00:00 2001 From: Ronald Kinard Date: Thu, 17 Sep 2015 02:38:28 -0500 Subject: [PATCH] Remove more unnecessary link attributes. --- src/raw/srv.rs | 1 - src/raw/svc.rs | 1 - 2 files changed, 2 deletions(-) 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;