bit-radix.c: fix declarations
PATCH 1/1 bit-radix.c: fix declarations
bit-radix.c should #include "bit-radix.h", and add a missing declaration for find_next_bit().
---
bit-radix.c +1 -1
@@ -17,7 +17,7 @@*/ #include "kerncompat.h" -#include "radix-tree.h" +#include "bit-radix.h" #define BIT_ARRAY_BYTES 256#define BIT_RADIX_BITS_PER_ARRAY ((BIT_ARRAY_BYTES - sizeof(unsigned long)) * 8)
bit-radix.h +2 -0
@@ -23,6 +23,8 @@int set_radix_bit (struct radix_tree_root *radix,unsigned long bit);int test_radix_bit (struct radix_tree_root *radix,unsigned long bit);int clear_radix_bit (struct radix_tree_root *radix,unsigned long bit); +unsigned long find_next_bit (const unsigned long *addr,unsigned long size, +unsigned long offset);int find_first_radix_bit (struct radix_tree_root *radix,unsigned long *retbits,unsigned long start,int nr);
Quoted 1 line · On Mon, 2009-01-19 at 22:19 +0800, Am=C3=A9rico Wang wrote:
bit-radix.cshould #include "bit-radix.h", and add a missing declarat=
ion
Quoted 4 lines
for
find_next_bit().
=20Signed-off-by WANG Cong <[email protected]>=20
I fixed this a little differently, the bit-radix code wasn't being used anymore. It's gone now ;)
-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · Chris Mason
Quoted 1 line · On Mon, 2009-01-19 at 22:19 +0800, Am=C3=A9rico Wang wrote:
bit-radix.cshould #include "bit-radix.h", and add a missing declara=
tion
Quoted 6 lines
Quoted 4 lines
for
find_next_bit().
=20Signed-off-by WANG Cong <[email protected]>=20
I fixed this a little differently, the bit-radix code wasn't being use=
d
Quoted 2 lines
anymore. It's gone now ;)
Thanks for your explanation!
--=20
"Against stupidity, the gods themselves, contend in vain."
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html