From c6e370e4a3a1c574e50240fecefe05965464aefd Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 15 Dec 2009 15:18:50 +0100 Subject: crc32: constify arguments --- crc32.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crc32.h') 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 + +extern uint32_t crc32(uint32_t crc, const uint8_t *buf, size_t len); #endif /* _CRC32_H_ */ -- cgit v1.2.3-54-g00ecf able id='header'> cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode: