aboutsummaryrefslogtreecommitdiff
path: root/src/raw
diff options
context:
space:
mode:
authorRonald Kinard <[email protected]>2015-09-17 02:38:28 -0500
committerRonald Kinard <[email protected]>2015-09-17 02:38:28 -0500
commitd9ebc62981cb438d9f7ef23f9d1e35d1c4448e25 (patch)
tree678be096cd33b20fe16c1d69909b4fece00ddc5a /src/raw
parentCleanup and lang items. (diff)
downloadctru-rs-d9ebc62981cb438d9f7ef23f9d1e35d1c4448e25.tar.xz
ctru-rs-d9ebc62981cb438d9f7ef23f9d1e35d1c4448e25.zip
Remove more unnecessary link attributes.
Diffstat (limited to 'src/raw')
-rw-r--r--src/raw/srv.rs1
-rw-r--r--src/raw/svc.rs1
2 files changed, 0 insertions, 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;