Add/Correct libgcc function prototypes
[yaboot.git] / include / ext2fs / bitops.h
index 85fa7d7f4b9964f970fcfecad9fa75ce38c2f7d0..ae6ec34a4a5e4939ca25bbec7ea5e9f15acfceed 100644 (file)
@@ -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;