aboutsummaryrefslogtreecommitdiff
path: root/ctru-sys/src
diff options
context:
space:
mode:
authorFenrir <[email protected]>2016-08-01 21:28:32 -0700
committerFenrir <[email protected]>2016-08-01 21:28:32 -0700
commitb75b7f804a34081e92388db231cc768095345e85 (patch)
tree732fb3c484709615d1a6d0747195a1bd8e0b4529 /ctru-sys/src
parentUpdate bindgen comment (diff)
downloadarchived-ctru-rs-b75b7f804a34081e92388db231cc768095345e85.tar.xz
archived-ctru-rs-b75b7f804a34081e92388db231cc768095345e85.zip
Use abort() when panicking
Diffstat (limited to 'ctru-sys/src')
-rw-r--r--ctru-sys/src/sys/libc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctru-sys/src/sys/libc.rs b/ctru-sys/src/sys/libc.rs
index 95e37db..b4d4a12 100644
--- a/ctru-sys/src/sys/libc.rs
+++ b/ctru-sys/src/sys/libc.rs
@@ -7,5 +7,6 @@ pub enum c_void {
}
extern "C" {
+ pub fn abort() -> !;
pub fn write(fd: i32, buf: *const c_void, count: usize) -> isize;
}