From 01c196b4f121cb77f50b9af2c54838aa4c6e06a0 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Sat, 29 Mar 2008 23:01:52 -0500 Subject: [PATCH] Fix a couple of implicit function declarations Fedora seems to be gearing up to add -Werror-implicit-function-declaration to the standard build flags, so I thought I'd get out ahead of this one... Signed-off-by: Eric Sandeen Signed-off-by: "Theodore Ts'o" --- e2fsck/unix.c | 1 + lib/ext2fs/bitops.h | 1 + 2 files changed, 2 insertions(+) diff --git a/e2fsck/unix.c b/e2fsck/unix.c index 93af87b97..1ad3ae012 100644 --- a/e2fsck/unix.c +++ b/e2fsck/unix.c @@ -47,6 +47,7 @@ extern int optind; #endif #include "et/com_err.h" +#include "e2p/e2p.h" #include "e2fsck.h" #include "problem.h" #include "../version.h" diff --git a/lib/ext2fs/bitops.h b/lib/ext2fs/bitops.h index d83ce8ed7..00bc4ab01 100644 --- a/lib/ext2fs/bitops.h +++ b/lib/ext2fs/bitops.h @@ -332,6 +332,7 @@ _INLINE_ __u32 ext2fs_swab32(__u32 val) #endif /* !_EXT2_HAVE_ASM_SWAB */ #if !defined(_EXT2_HAVE_ASM_FINDBIT_) +#include _INLINE_ int ext2fs_find_first_bit_set(void * addr, unsigned size) { char *cp = (char *) addr; -- 2.47.2