Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-13 19:09:25 +0400
committerIgor Sysoev <igor@sysoev.ru>2006-10-13 19:09:25 +0400
commit0ab9e437145620ea9e44c03173c9e60d9b29475b (patch)
treedd7adc69bf9821e70603d034ba2a615cec32f436 /src/core/ngx_crc.h
parent8a444aa7242a294e03f551228152c393a1d68f50 (diff)
style fix
Diffstat (limited to 'src/core/ngx_crc.h')
-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;