diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2005-09-27 04:21:48 +0000 |
|---|---|---|
| committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-27 04:21:48 +0000 |
| commit | 16ce8aa4123388c4a6237301e656c8f4e24a7e52 (patch) | |
| tree | 4e20d01ca7159d73a552237ebb5a0b8144457aec | |
| parent | f87b3e30a7e26aec499912accd2598e2e5aa24d6 (diff) | |
| download | busybox-w32-16ce8aa4123388c4a6237301e656c8f4e24a7e52.tar.gz busybox-w32-16ce8aa4123388c4a6237301e656c8f4e24a7e52.tar.bz2 busybox-w32-16ce8aa4123388c4a6237301e656c8f4e24a7e52.zip | |
fix building w/out et headers and w/out debug
| -rw-r--r-- | e2fsprogs/e2fsck.c | 2 | ||||
| -rw-r--r-- | e2fsprogs/e2fsck/badblocks.c | 1 | ||||
| -rw-r--r-- | e2fsprogs/e2fsck/dict.c | 4 | ||||
| -rw-r--r-- | e2fsprogs/e2fsck/swapfs.c | 1 |
4 files changed, 3 insertions, 5 deletions
diff --git a/e2fsprogs/e2fsck.c b/e2fsprogs/e2fsck.c index f1adc8549..db93ea0ce 100644 --- a/e2fsprogs/e2fsck.c +++ b/e2fsprogs/e2fsck.c | |||
| @@ -45,10 +45,8 @@ extern int optind; | |||
| 45 | #endif | 45 | #endif |
| 46 | 46 | ||
| 47 | #include "e2fsbb.h" | 47 | #include "e2fsbb.h" |
| 48 | #include "et/com_err.h" | ||
| 49 | #include "e2fsck/e2fsck.h" | 48 | #include "e2fsck/e2fsck.h" |
| 50 | #include "e2fsck/problem.h" | 49 | #include "e2fsck/problem.h" |
| 51 | //#include "../version.h" | ||
| 52 | 50 | ||
| 53 | /* Command line options */ | 51 | /* Command line options */ |
| 54 | static int swapfs; | 52 | static int swapfs; |
diff --git a/e2fsprogs/e2fsck/badblocks.c b/e2fsprogs/e2fsck/badblocks.c index 09ef3ab1b..1ab76a091 100644 --- a/e2fsprogs/e2fsck/badblocks.c +++ b/e2fsprogs/e2fsck/badblocks.c | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | #include <errno.h> | 10 | #include <errno.h> |
| 11 | #endif | 11 | #endif |
| 12 | 12 | ||
| 13 | #include <et/com_err.h> | ||
| 14 | #include "e2fsck.h" | 13 | #include "e2fsck.h" |
| 15 | 14 | ||
| 16 | static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt, | 15 | static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt, |
diff --git a/e2fsprogs/e2fsck/dict.c b/e2fsprogs/e2fsck/dict.c index 48a1e74f7..b0809a76d 100644 --- a/e2fsprogs/e2fsck/dict.c +++ b/e2fsprogs/e2fsck/dict.c | |||
| @@ -30,7 +30,9 @@ | |||
| 30 | #define DICT_IMPLEMENTATION | 30 | #define DICT_IMPLEMENTATION |
| 31 | #include "dict.h" | 31 | #include "dict.h" |
| 32 | 32 | ||
| 33 | #define NDEBUG | 33 | #ifndef NDEBUG |
| 34 | # define NDEBUG | ||
| 35 | #endif | ||
| 34 | 36 | ||
| 35 | /* | 37 | /* |
| 36 | * These macros provide short convenient names for structure members, | 38 | * These macros provide short convenient names for structure members, |
diff --git a/e2fsprogs/e2fsck/swapfs.c b/e2fsprogs/e2fsck/swapfs.c index 8d464043a..a737b9624 100644 --- a/e2fsprogs/e2fsck/swapfs.c +++ b/e2fsprogs/e2fsck/swapfs.c | |||
| @@ -13,7 +13,6 @@ | |||
| 13 | #ifdef HAVE_ERRNO_H | 13 | #ifdef HAVE_ERRNO_H |
| 14 | #include <errno.h> | 14 | #include <errno.h> |
| 15 | #endif | 15 | #endif |
| 16 | #include <et/com_err.h> | ||
| 17 | #include "e2fsck.h" | 16 | #include "e2fsck.h" |
| 18 | 17 | ||
| 19 | #ifdef ENABLE_SWAPFS | 18 | #ifdef ENABLE_SWAPFS |
