aboutsummaryrefslogtreecommitdiff
path: root/ctru-sys/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ctru-sys/src/lib.rs')
-rw-r--r--ctru-sys/src/lib.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/ctru-sys/src/lib.rs b/ctru-sys/src/lib.rs
index 4b212a5..6676277 100644
--- a/ctru-sys/src/lib.rs
+++ b/ctru-sys/src/lib.rs
@@ -14,6 +14,7 @@ pub mod gfx;
pub mod gpu;
pub mod ipc;
pub mod lock;
+pub mod libc;
pub mod os;
pub mod sdmc;
pub mod srv;
@@ -29,10 +30,4 @@ pub use self::types::*;
pub type Result = i32;
pub type Handle = u32;
-#[repr(u8)]
-pub enum c_void {
- __variant1,
- __variant2,
-}
-
-pub type ThreadFunc = Option<extern "C" fn(arg1: *mut c_void) -> ()>;
+pub type ThreadFunc = Option<extern "C" fn(arg1: *mut libc::c_void) -> ()>;