File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 1
- pub type sigset_t = c_uchar ;
1
+ pub type sigset_t = :: c_uchar ;
Original file line number Diff line number Diff line change @@ -960,7 +960,6 @@ extern "C" {
960
960
old : * mut sigaction ,
961
961
_external_handler : :: Option < unsafe extern "C" fn ( :: c_int ) > ,
962
962
) -> :: c_int ;
963
- fn __wasm_signal ( signum : :: c_int ) ;
964
963
}
965
964
966
965
pub unsafe fn sigaction ( sig : :: c_int , sa : * const sigaction , old : * mut sigaction ) -> :: c_int {
@@ -975,13 +974,6 @@ extern "C" fn default_handler(sig: ::c_int) {
975
974
}
976
975
}
977
976
978
- mod wasm_signal {
979
- #[ no_mangle]
980
- extern "C" fn __wasm_signal ( signum : :: c_int ) {
981
- unsafe { super :: __wasm_signal ( signum) } ;
982
- }
983
- }
984
-
985
977
/// mocked functions that dont do anything in WASI land
986
978
pub fn mlock ( _addr : * const :: c_void , _len : :: size_t ) -> :: c_int {
987
979
0
You can’t perform that action at this time.
0 commit comments