diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-23 21:38:06 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-23 21:38:06 +0000 |
commit | a928e011b61c7d8d8d6a00590705e52fef105474 (patch) | |
tree | 5bdb4d58c9fb7bad6096a7e889caaeac0da11e96 /e2fsprogs/ext2fs/native.c | |
parent | 95a9af7e0cadf96048876517b690531e6b5a452b (diff) | |
download | busybox-w32-a928e011b61c7d8d8d6a00590705e52fef105474.tar.gz busybox-w32-a928e011b61c7d8d8d6a00590705e52fef105474.tar.bz2 busybox-w32-a928e011b61c7d8d8d6a00590705e52fef105474.zip |
Ken McGuire's patch to make mke2fs and e2fsck work on big endian systems like
PPC, with an obligatory couple of swipes from me.
git-svn-id: svn://busybox.net/trunk/busybox@13536 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r-- | e2fsprogs/ext2fs/native.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/e2fsprogs/ext2fs/native.c b/e2fsprogs/ext2fs/native.c deleted file mode 100644 index 85d098967..000000000 --- a/e2fsprogs/ext2fs/native.c +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | /* | ||
2 | * native.c --- returns the ext2_flag for a native byte order | ||
3 | * | ||
4 | * Copyright (C) 1996 Theodore Ts'o. | ||
5 | * | ||
6 | * %Begin-Header% | ||
7 | * This file may be redistributed under the terms of the GNU Public | ||
8 | * License. | ||
9 | * %End-Header% | ||
10 | */ | ||
11 | |||
12 | #include <stdio.h> | ||
13 | |||
14 | #include "ext2_fs.h" | ||
15 | #include "ext2fs.h" | ||
16 | |||
17 | int ext2fs_native_flag(void) | ||
18 | { | ||
19 | #ifdef WORDS_BIGENDIAN | ||
20 | return EXT2_FLAG_SWAP_BYTES; | ||
21 | #else | ||
22 | return 0; | ||
23 | #endif | ||
24 | } | ||
25 | |||
26 | |||
27 | |||