svn commit: trunk/busybox/e2fsprogs: e2fsck

vapier at busybox.net vapier at busybox.net
Tue Sep 27 04:21:49 UTC 2005


Author: vapier
Date: 2005-09-26 21:21:48 -0700 (Mon, 26 Sep 2005)
New Revision: 11662

Log:
fix building w/out et headers and w/out debug

Modified:
   trunk/busybox/e2fsprogs/e2fsck.c
   trunk/busybox/e2fsprogs/e2fsck/badblocks.c
   trunk/busybox/e2fsprogs/e2fsck/dict.c
   trunk/busybox/e2fsprogs/e2fsck/swapfs.c


Changeset:
Modified: trunk/busybox/e2fsprogs/e2fsck/badblocks.c
===================================================================
--- trunk/busybox/e2fsprogs/e2fsck/badblocks.c	2005-09-27 04:16:22 UTC (rev 11661)
+++ trunk/busybox/e2fsprogs/e2fsck/badblocks.c	2005-09-27 04:21:48 UTC (rev 11662)
@@ -10,7 +10,6 @@
 #include <errno.h>
 #endif
 
-#include <et/com_err.h>
 #include "e2fsck.h"
 
 static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt,

Modified: trunk/busybox/e2fsprogs/e2fsck/dict.c
===================================================================
--- trunk/busybox/e2fsprogs/e2fsck/dict.c	2005-09-27 04:16:22 UTC (rev 11661)
+++ trunk/busybox/e2fsprogs/e2fsck/dict.c	2005-09-27 04:21:48 UTC (rev 11662)
@@ -30,7 +30,9 @@
 #define DICT_IMPLEMENTATION
 #include "dict.h"
 
-#define NDEBUG
+#ifndef NDEBUG
+# define NDEBUG
+#endif
 
 /*
  * These macros provide short convenient names for structure members,

Modified: trunk/busybox/e2fsprogs/e2fsck/swapfs.c
===================================================================
--- trunk/busybox/e2fsprogs/e2fsck/swapfs.c	2005-09-27 04:16:22 UTC (rev 11661)
+++ trunk/busybox/e2fsprogs/e2fsck/swapfs.c	2005-09-27 04:21:48 UTC (rev 11662)
@@ -13,7 +13,6 @@
 #ifdef HAVE_ERRNO_H
 #include <errno.h>
 #endif
-#include <et/com_err.h>
 #include "e2fsck.h"
 
 #ifdef ENABLE_SWAPFS

Modified: trunk/busybox/e2fsprogs/e2fsck.c
===================================================================
--- trunk/busybox/e2fsprogs/e2fsck.c	2005-09-27 04:16:22 UTC (rev 11661)
+++ trunk/busybox/e2fsprogs/e2fsck.c	2005-09-27 04:21:48 UTC (rev 11662)
@@ -45,10 +45,8 @@
 #endif
 
 #include "e2fsbb.h"
-#include "et/com_err.h"
 #include "e2fsck/e2fsck.h"
 #include "e2fsck/problem.h"
-//#include "../version.h"
 
 /* Command line options */
 static int swapfs;




More information about the busybox-cvs mailing list