summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/crc-16.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/contrib/crc-16.h')
-rw-r--r--apt-pkg/contrib/crc-16.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/contrib/crc-16.h b/apt-pkg/contrib/crc-16.h
index 702de40b2..08acdafb7 100644
--- a/apt-pkg/contrib/crc-16.h
+++ b/apt-pkg/contrib/crc-16.h
@@ -10,8 +10,10 @@
#ifndef APTPKG_CRC16_H
#define APTPKG_CRC16_H
+#include <apt-pkg/macros.h>
+
#define INIT_FCS 0xffff
unsigned short AddCRC16(unsigned short fcs, void const *buf,
- unsigned long long len);
+ unsigned long long len) APT_PURE;
#endif