Skip to content
Snippets Groups Projects
Commit 05eb0e85 authored by Peter Limkilde Svendsen's avatar Peter Limkilde Svendsen
Browse files

Set #[no_mangle] on ffsl(), ffsll()

parent 306196da
No related branches found
No related tags found
1 merge request!611Add docs, missing functions for strings.h
......@@ -77,7 +77,7 @@ pub extern "C" fn ffs(i: c_int) -> c_int {
}
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/ffs.html>.
// #[no_mangle]
#[no_mangle]
pub extern "C" fn ffsl(i: c_long) -> c_int {
if i == 0 {
return 0;
......@@ -86,7 +86,7 @@ pub extern "C" fn ffsl(i: c_long) -> c_int {
}
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/ffs.html>.
// #[no_mangle]
#[no_mangle]
pub extern "C" fn ffsll(i: c_longlong) -> c_int {
if i == 0 {
return 0;
......
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