Skip to content

Commit

Permalink
feat(syscalls): remove sys_shutdown
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
  • Loading branch information
mkroening committed May 22, 2024
1 parent 791221b commit 201eb71
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,6 @@ pub(crate) fn shutdown(arg: i32) -> ! {
SYS.shutdown(arg)
}

#[hermit_macro::system]
#[no_mangle]
pub extern "C" fn sys_shutdown(arg: i32) -> ! {
shutdown(arg)
}

#[hermit_macro::system]
#[no_mangle]
pub unsafe extern "C" fn sys_unlink(name: *const u8) -> i32 {
Expand Down

0 comments on commit 201eb71

Please sign in to comment.