X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/8d4b705ab0ef3a0de13a9ff9f1aa47f09112f374..f378b41f9ab2493bcbc5892d482b18826b0b84c0:/apt-pkg/contrib/crc-16.h?ds=inline diff --git a/apt-pkg/contrib/crc-16.h b/apt-pkg/contrib/crc-16.h index f30678bac..6cc3556c6 100644 --- a/apt-pkg/contrib/crc-16.h +++ b/apt-pkg/contrib/crc-16.h @@ -10,8 +10,11 @@ #ifndef APTPKG_CRC16_H #define APTPKG_CRC16_H +#include + #define INIT_FCS 0xffff +unsigned short AddCRC16Byte(unsigned short fcs, unsigned char byte) APT_CONST; unsigned short AddCRC16(unsigned short fcs, void const *buf, - unsigned long len); + unsigned long long len) APT_PURE; #endif