From: Eric Sandeen <sandeen@redhat.com>
To: ext4 development <linux-ext4@vger.kernel.org>
Subject: [PATCH] fix a couple implicit function declarations
Date: Sat, 29 Mar 2008 23:01:52 -0500 [thread overview]
Message-ID: <47EF10B0.2070804@redhat.com> (raw)
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 <sandeen@redhat.com>
---
e2fsck/unix.c | 1 +
lib/ext2fs/bitops.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index 7b662e4..cadd025 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 d83ce8e..00bc4ab 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 <strings.h>
_INLINE_ int ext2fs_find_first_bit_set(void * addr, unsigned size)
{
char *cp = (char *) addr;
-- 1.5.4.1
reply other threads:[~2008-03-30 4:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47EF10B0.2070804@redhat.com \
--to=sandeen@redhat.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.