aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-13 15:09:25 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-10-13 15:09:25 +0000
commit0ab9e437145620ea9e44c03173c9e60d9b29475b (patch)
treedd7adc69bf9821e70603d034ba2a615cec32f436
parent8a444aa7242a294e03f551228152c393a1d68f50 (diff)
downloadnginx-0ab9e437145620ea9e44c03173c9e60d9b29475b.tar.gz
nginx-0ab9e437145620ea9e44c03173c9e60d9b29475b.zip
style fix
-rw-r--r--src/core/ngx_crc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/ngx_crc.h b/src/core/ngx_crc.h
index 73f4cdd67..b2aff8966 100644
--- a/src/core/ngx_crc.h
+++ b/src/core/ngx_crc.h
@@ -10,15 +10,16 @@
/* 32-bit crc16 */
-static ngx_inline uint32_t ngx_crc(char *data, size_t len)
+static ngx_inline uint32_t
+ngx_crc(char *data, size_t len)
{
uint32_t sum;
for (sum = 0; len; len--) {
/*
- * gcc 2.95.2 x86 and icc 7.1.006 compile that operator
- * into the single "rol" opcode.
+ * gcc 2.95.2 x86 and icc 7.1.006 compile
+ * that operator into the single "rol" opcode,
* msvc 6.0sp2 compiles it into four opcodes.
*/
sum = sum >> 1 | sum << 31;