summaryrefslogtreecommitdiff
path: root/crc32.h
diff options
context:
space:
mode:
authorTobias Klauser <klto@zhaw.ch>2009-12-15 15:18:50 +0100
committerTobias Klauser <klto@zhaw.ch>2009-12-15 15:18:50 +0100
commitc6e370e4a3a1c574e50240fecefe05965464aefd (patch)
tree72a788ab5feb0572c20d4a8550ee567323925e31 /crc32.h
parent64b810b41989876099b3c461b3ac91d4b3813d9d (diff)
crc32: constify arguments
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_ */