OSDN Git Service
(root)
/
android-x86
/
external-e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1123a2e
)
e2fsck,misc: include ext2fs.h to avoid clang warnings
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 23 May 2015 22:08:35 +0000
(18:08 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 23 May 2015 22:08:35 +0000
(18:08 -0400)
e2fsck/dirinfo.c and misc/e4crypt.c use functions from libext2fs, so
we need to include its header file or clang will complain.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/dirinfo.c
patch
|
blob
|
history
misc/e4crypt.c
patch
|
blob
|
history
diff --git
a/e2fsck/dirinfo.c
b/e2fsck/dirinfo.c
index
dab5a13
..
9b36ddc
100644
(file)
--- a/
e2fsck/dirinfo.c
+++ b/
e2fsck/dirinfo.c
@@
-13,6
+13,7
@@
#include <fcntl.h>
#include "uuid/uuid.h"
+#include "ext2fs/ext2fs.h"
#include <ext2fs/tdb.h>
struct dir_info_db {
diff --git
a/misc/e4crypt.c
b/misc/e4crypt.c
index
b99421a
..
05bd00b
100644
(file)
--- a/
misc/e4crypt.c
+++ b/
misc/e4crypt.c
@@
-41,6
+41,7
@@
#include <asm/unistd.h>
#include "ext2fs/ext2_fs.h"
+#include "ext2fs/ext2fs.h"
#include "uuid/uuid.h"
/* special process keyring shortcut IDs */