Skip to content

Commit 5f0d017

Browse files
authored
Merge pull request #4200 from taiki-e/c-void
Do not re-export c_void in target-specific code
2 parents 92ffa8c + c389c30 commit 5f0d017

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/teeos/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
#![allow(non_camel_case_types)]
66
#![allow(non_snake_case)]
77

8-
// only supported on Rust > 1.59, so we can directly reexport c_void from core.
9-
pub use core::ffi::c_void;
10-
118
use crate::prelude::*;
129

1310
pub type c_schar = i8;

src/trusty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pub use core::ffi::c_void;
1+
use crate::prelude::*;
22

33
pub type size_t = usize;
44
pub type ssize_t = isize;

0 commit comments

Comments
 (0)