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

fixup! strcoll as strcmp because no locale

parent 87820848
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ pub unsafe extern "C" fn strcmp(s1: *const c_char, s2: *const c_char) -> c_int { ...@@ -142,7 +142,7 @@ pub unsafe extern "C" fn strcmp(s1: *const c_char, s2: *const c_char) -> c_int {
strncmp(s1, s2, usize::MAX) strncmp(s1, s2, usize::MAX)
} }
// #[no_mangle] #[no_mangle]
pub unsafe extern "C" fn strcoll(s1: *const c_char, s2: *const c_char) -> c_int { pub unsafe extern "C" fn strcoll(s1: *const c_char, s2: *const c_char) -> c_int {
// relibc has no locale stuff (yet) // relibc has no locale stuff (yet)
strcmp(s1, s2) strcmp(s1, s2)
......
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