summaryrefslogtreecommitdiff
path: root/lib/ext2fs/bitops.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-07-20 12:33:37 -0400
committerTheodore Ts'o <tytso@mit.edu>2001-07-20 12:33:37 -0400
commit6ae296e7349bdf9393b2531f4acd84dd586546f6 (patch)
tree6e92adcdbb47a47cf99aa4619ef9f3ded7e101e0 /lib/ext2fs/bitops.h
parentda376f5a13af0648159c575cf50bf78df34056f9 (diff)
downloade2fsprogs-6ae296e7349bdf9393b2531f4acd84dd586546f6.tar.gz
Comment out ext2_find_first_bit_set and ext2fs_find_next_bit_set
since we're not using them.
Diffstat (limited to 'lib/ext2fs/bitops.h')
-rw-r--r--lib/ext2fs/bitops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ext2fs/bitops.h b/lib/ext2fs/bitops.h
index bf6b0068..7872b367 100644
--- a/lib/ext2fs/bitops.h
+++ b/lib/ext2fs/bitops.h
@@ -157,6 +157,7 @@ _INLINE_ int ext2fs_test_bit(int nr, const void * addr)
return oldbit;
}
+#if 0
_INLINE_ int ext2fs_find_first_bit_set(void * addr, unsigned size)
{
int d0, d1, d2;
@@ -208,6 +209,7 @@ _INLINE_ int ext2fs_find_next_bit_set (void * addr, int size, int offset)
res = ext2fs_find_first_bit_set(p, size - 32 * (p - (unsigned long *) addr));
return (offset + set + res);
}
+#endif
#ifdef EXT2FS_ENABLE_SWAPFS
_INLINE_ __u32 ext2fs_swab32(__u32 val)