summaryrefslogtreecommitdiff
path: root/e2fsprogs/ext2fs/swapfs.c
diff options
context:
space:
mode:
authorRob Landley2006-05-03 21:58:45 +0000
committerRob Landley2006-05-03 21:58:45 +0000
commit7c94bed2345008b4b62014a846488319a7af0727 (patch)
tree4345ba7255410654b6c8c4d7f51122643f6d9584 /e2fsprogs/ext2fs/swapfs.c
parentdb2ab89b7c66c97e7a849a4a25baca10de4576dc (diff)
downloadbusybox-7c94bed2345008b4b62014a846488319a7af0727.zip
busybox-7c94bed2345008b4b62014a846488319a7af0727.tar.gz
Big dead code elimination pass from Garrett.
Diffstat (limited to 'e2fsprogs/ext2fs/swapfs.c')
-rw-r--r--e2fsprogs/ext2fs/swapfs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/e2fsprogs/ext2fs/swapfs.c b/e2fsprogs/ext2fs/swapfs.c
index af8b6eb..0c01806 100644
--- a/e2fsprogs/ext2fs/swapfs.c
+++ b/e2fsprogs/ext2fs/swapfs.c
@@ -10,9 +10,7 @@
*/
#include <stdio.h>
-#if HAVE_UNISTD_H
#include <unistd.h>
-#endif
#include <string.h>
#include <time.h>
@@ -20,7 +18,7 @@
#include "ext2fs.h"
#include "ext2_ext_attr.h"
-#ifdef EXT2FS_ENABLE_SWAPFS
+#if BB_BIG_ENDIAN
void ext2fs_swap_super(struct ext2_super_block * sb)
{
int i;