Browse Source

Remove more unnecessary link attributes.

pull/10/head
Ronald Kinard 9 years ago
parent
commit
d9ebc62981
  1. 1
      src/raw/srv.rs
  2. 1
      src/raw/svc.rs

1
src/raw/srv.rs

@ -1,7 +1,6 @@
use super::*; use super::*;
use super::super::{Result, Handle}; use super::super::{Result, Handle};
#[link(name="ctru")]
extern "C" { extern "C" {
pub fn srvInit() -> Result; pub fn srvInit() -> Result;
pub fn srvExit() -> Result; pub fn srvExit() -> Result;

1
src/raw/svc.rs

@ -258,7 +258,6 @@ impl Clone for DebugEventInfo {
// getLocalThreadStorage and getThreadCommandBuffer can't be implemented // getLocalThreadStorage and getThreadCommandBuffer can't be implemented
// due to asm. Custom build step may be necessary. // due to asm. Custom build step may be necessary.
#[link(name="ctru")]
extern "C" { extern "C" {
pub fn svcControlMemory(addr_out: *mut u32, addr0: u32, addr1: u32, size: u32, op: MemOp, perm: MemPerm) -> s32; 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; pub fn svcQueryMemory(info: *mut MemInfo, out: *mut PageInfo, addr: u32) -> s32;

Loading…
Cancel
Save