summaryrefslogtreecommitdiff
path: root/lib
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
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')
-rw-r--r--lib/ext2fs/ChangeLog5
-rw-r--r--lib/ext2fs/bitops.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog
index cd881e83..104a2f48 100644
--- a/lib/ext2fs/ChangeLog
+++ b/lib/ext2fs/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-20 Theodore Tso <tytso@valinux.com>
+
+ * bitops.h (ext2fs_find_first_bit_set, ext2fs_find_next_bit_set):
+ Comment out these functions since we're not using them.
+
2001-07-10 Theodore Tso <tytso@valinux.com>
* closefs.c (write_primary_superblock): After writing changes to
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)