From 05eb0e85ded71b04e28e65e575dfc932667736ac Mon Sep 17 00:00:00 2001
From: Peter Limkilde Svendsen <peter.limkilde@gmail.com>
Date: Mon, 3 Feb 2025 23:07:02 +0100
Subject: [PATCH] Set #[no_mangle] on ffsl(), ffsll()

---
 src/header/strings/mod.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/header/strings/mod.rs b/src/header/strings/mod.rs
index 2f4ab095..45981bc7 100644
--- a/src/header/strings/mod.rs
+++ b/src/header/strings/mod.rs
@@ -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;
-- 
GitLab