Skip to content
Snippets Groups Projects
Verified Commit 541fbcf5 authored by jD91mZM2's avatar jD91mZM2
Browse files

Use ptr::null over 0

parent 1fd9a5f2
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ pub const STDOUT_FILENO: c_int = 1; ...@@ -33,7 +33,7 @@ pub const STDOUT_FILENO: c_int = 1;
pub const STDERR_FILENO: c_int = 2; pub const STDERR_FILENO: c_int = 2;
#[no_mangle] #[no_mangle]
pub static mut environ: *const *mut c_char = 0 as *const *mut c_char; pub static mut environ: *const *mut c_char = ptr::null();
#[no_mangle] #[no_mangle]
pub extern "C" fn _exit(status: c_int) { pub extern "C" fn _exit(status: c_int) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment