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

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2016-06-02 17:49:16 +0300
committermichael-grunder <michael.grunder@gmail.com>2016-06-02 17:49:16 +0300
commite3fb8436baef3690034baf087e9558b480cdaac8 (patch)
tree1cd046d481b96083a962c6e0cc2b1a2e6aeda455 /crc16.h
parented1da64708fefca9da8b6ae598324a264ab1901a (diff)
Comment debug code, fix compiler warnings
Diffstat (limited to 'crc16.h')
-rw-r--r--crc16.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crc16.h b/crc16.h
index f7d2aee3..be91ffa0 100644
--- a/crc16.h
+++ b/crc16.h
@@ -78,7 +78,7 @@ static const uint16_t crc16tab[256]= {
0x6e17,0x7e36,0x4e55,0x5e74,0x2e93,0x3eb2,0x0ed1,0x1ef0
};
-static uint16_t crc16(const char *buf, int len) {
+static inline uint16_t crc16(const char *buf, int len) {
int counter;
uint16_t crc = 0;
for (counter = 0; counter < len; counter++)