summaryrefslogtreecommitdiff
path: root/crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'crc32.h')
-rw-r--r--crc32.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crc32.h b/crc32.h
index 72da4e0..6ea89b0 100644
--- a/crc32.h
+++ b/crc32.h
@@ -1,6 +1,8 @@
#ifndef _CRC32_H_
#define _CRC32_H_
-extern uint32_t crc32(uint32_t crc, unsigned char *buf, size_t len);
+#include <stdint.h>
+
+extern uint32_t crc32(uint32_t crc, const uint8_t *buf, size_t len);
#endif /* _CRC32_H_ */
ack_expect_policy{} is not a pointer, so check it is NULL or not will always return true. Even if the name is empty, slash will always be displayed like follows: # cat /proc/net/nf_conntrack_expect 297 l3proto = 2 proto=6 src=1.1.1.1 dst=2.2.2.2 sport=1 dport=1025 ftp/ ^ Fixes: 3a8fc53a45c4 ("netfilter: nf_ct_helper: allocate 16 bytes for the helper and policy names") Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation')