Skip to content

Commit 0b96f71

Browse files
committed
Original way we had of referring to this.
1 parent 4fec0b3 commit 0b96f71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

filpreload/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ fn set_current_callstack(callstack: &Callstack) {
8989
}
9090

9191
extern "C" {
92+
fn _exit(exit_code: std::os::raw::c_int);
9293
fn free(address: *mut c_void);
9394
}
9495

@@ -169,7 +170,7 @@ fn add_allocation(
169170
false,
170171
);
171172
unsafe {
172-
libc::_exit(53);
173+
_exit(53);
173174
}
174175
};
175176
Ok(())

0 commit comments

Comments
 (0)