From b29026864567b6a3842bd5b518ac989e5cd29d97 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 25 Jul 2007 00:16:30 +0000 Subject: (svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line. --- src/win32.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/win32.cpp') diff --git a/src/win32.cpp b/src/win32.cpp index 36b26c2e5..a734acf59 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -110,7 +110,8 @@ struct DebugFileInfo { static uint32 *_crc_table; -static void MakeCRCTable(uint32 *table) { +static void MakeCRCTable(uint32 *table) +{ uint32 crc, poly = 0xEDB88320L; int i; int j; @@ -126,7 +127,8 @@ static void MakeCRCTable(uint32 *table) { } } -static uint32 CalcCRC(byte *data, uint size, uint32 crc) { +static uint32 CalcCRC(byte *data, uint size, uint32 crc) +{ for (; size > 0; size--) { crc = ((crc >> 8) & 0x00FFFFFF) ^ _crc_table[(crc ^ *data++) & 0xFF]; } -- cgit v1.2.3-54-g00ecf