Update signatures and add missing imports

This commit is contained in:
Brandon Fish
2019-02-05 17:25:51 -06:00
parent cb941ea7d3
commit c11f18b09c
4 changed files with 29 additions and 7 deletions

View File

@ -57,6 +57,16 @@ pub fn _kill(_one: i32, _two: i32, _ctx: &mut Ctx) -> i32 {
-1
}
pub fn _sched_yield(_ctx: &mut Ctx) -> i32 {
debug!("emscripten::_sched_yield");
-1
}
pub fn _llvm_stacksave(_ctx: &mut Ctx) -> i32 {
debug!("emscripten::_llvm_stacksave");
-1
}
pub fn _llvm_stackrestore(_one: i32, _ctx: &mut Ctx) {
debug!("emscripten::_llvm_stackrestore");
}
@ -81,6 +91,12 @@ pub fn _sem_wait(_one: i32, _ctx: &mut Ctx) -> i32 {
-1
}
#[allow(clippy::cast_ptr_alignment)]
pub fn _getgrent(ctx: &mut Ctx) -> c_int {
debug!("emscripten::_getgrent {}", name_ptr);
-1
}
pub fn _setgrent(_ctx: &mut Ctx) {
debug!("emscripten::_setgrent");
}