summaryrefslogtreecommitdiff
path: root/e2fsprogs/ext2fs/native.c
diff options
context:
space:
mode:
authorRob Landley2006-01-23 21:38:06 +0000
committerRob Landley2006-01-23 21:38:06 +0000
commit391a904f46d96430c8462bf077708b7179f4810d (patch)
tree5bdb4d58c9fb7bad6096a7e889caaeac0da11e96 /e2fsprogs/ext2fs/native.c
parent6130b9b16027d09cacff9da44f3cd6efb57b9c54 (diff)
downloadbusybox-391a904f46d96430c8462bf077708b7179f4810d.zip
busybox-391a904f46d96430c8462bf077708b7179f4810d.tar.gz
Ken McGuire's patch to make mke2fs and e2fsck work on big endian systems like
PPC, with an obligatory couple of swipes from me.
Diffstat (limited to 'e2fsprogs/ext2fs/native.c')
-rw-r--r--e2fsprogs/ext2fs/native.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/e2fsprogs/ext2fs/native.c b/e2fsprogs/ext2fs/native.c
deleted file mode 100644
index 85d0989..0000000
--- a/e2fsprogs/ext2fs/native.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * native.c --- returns the ext2_flag for a native byte order
- *
- * Copyright (C) 1996 Theodore Ts'o.
- *
- * %Begin-Header%
- * This file may be redistributed under the terms of the GNU Public
- * License.
- * %End-Header%
- */
-
-#include <stdio.h>
-
-#include "ext2_fs.h"
-#include "ext2fs.h"
-
-int ext2fs_native_flag(void)
-{
-#ifdef WORDS_BIGENDIAN
- return EXT2_FLAG_SWAP_BYTES;
-#else
- return 0;
-#endif
-}
-
-
-