summaryrefslogtreecommitdiff
path: root/src/strings/ffs.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 15:45:38 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 15:45:38 -0500
commitbafccb2f57ac1a1852be2d6aafe33cf02d1630c1 (patch)
treea6164b42b37b941cb64bbc3db8af7a1daf381ace /src/strings/ffs.c
parent910a86c095b6d7311d73fa88a632aa9b673243b2 (diff)
update dependencies
Diffstat (limited to 'src/strings/ffs.c')
-rw-r--r--src/strings/ffs.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/strings/ffs.c b/src/strings/ffs.c
deleted file mode 100644
index 8c37ed0b..00000000
--- a/src/strings/ffs.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#if 0
-
-#include <strings.h>
-
-int ffs(int i)
-{
- int bit = 0;
-
- if (i == 0) {
- return 0;
- }
-
- while (!(i & (1 << bit))) {
- bit++;
- }
-
- return bit;
-}
-
-/*
-XOPEN(400)
-*/
-
-
-#endif