⬢ DragonFlyBSD Kernel Audit
DF-5717 / fix.diff
← back to finding ↓ download raw
--- a/sys/libkern/flsll.c
+++ b/sys/libkern/flsll.c
@@ -34,6 +34,7 @@
 /*
  * Find Last Set bit
  */
+#if !defined(HAVE_INLINE_FLSLL)
 int
 flsll(long long mask)
 {
@@ -45,3 +46,4 @@
 		mask = (unsigned long long)mask >> 1;
 	return (bit);
 }
+#endif