VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Endian.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-21 15:21:13 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-22 00:30:19 +0200
commitff871511af79fd8fb7a09d3ed42220830e6ddcd6 (patch)
tree100728bb821d4fe1b7622eedd1174920302459e8 /src/Common/Endian.c
parent0fb2befe3ab57696d5b4c9de6fee344bfd520bf6 (diff)
downloadVeraCrypt-ff871511af79fd8fb7a09d3ed42220830e6ddcd6.tar.gz
VeraCrypt-ff871511af79fd8fb7a09d3ed42220830e6ddcd6.zip
Windows: reduce size of MBR bootloader by removing unused functions in each build type.
Diffstat (limited to 'src/Common/Endian.c')
-rw-r--r--src/Common/Endian.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/Common/Endian.c b/src/Common/Endian.c
index 46f6e1bd..cea24d09 100644
--- a/src/Common/Endian.c
+++ b/src/Common/Endian.c
@@ -43,17 +43,3 @@ uint64 MirrorBytes64 (uint64 x)
}
#endif
-void
-LongReverse (unsigned __int32 *buffer, unsigned byteCount)
-{
- unsigned __int32 value;
-
- byteCount /= sizeof (unsigned __int32);
- while (byteCount--)
- {
- value = *buffer;
- value = ((value & 0xFF00FF00L) >> 8) | \
- ((value & 0x00FF00FFL) << 8);
- *buffer++ = (value << 16) | (value >> 16);
- }
-}