X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=include%2Fext2fs%2Fbitops.h;fp=include%2Fext2fs%2Fbitops.h;h=ae6ec34a4a5e4939ca25bbec7ea5e9f15acfceed;hb=26a865f06c37278eebc6e329e6aa99f52906c713;hp=85fa7d7f4b9964f970fcfecad9fa75ce38c2f7d0;hpb=52ad93077e5334581d05ade8e55575573b98087e;p=yaboot.git diff --git a/include/ext2fs/bitops.h b/include/ext2fs/bitops.h index 85fa7d7..ae6ec34 100644 --- a/include/ext2fs/bitops.h +++ b/include/ext2fs/bitops.h @@ -410,6 +410,9 @@ _INLINE_ __u32 ext2fs_swab32(__u32 val) #endif /* !_EXT2_HAVE_ASM_SWAB */ #if !defined(_EXT2_HAVE_ASM_FINDBIT_) +/* Use the prototype from builtin_ffs() */ +extern int ffs(unsigned int); + _INLINE_ int ext2fs_find_first_bit_set(void * addr, unsigned size) { char *cp = (unsigned char *) addr;