]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/crc-16.h
call flush on the wrapped writebuffered FileFd
[apt.git] / apt-pkg / contrib / crc-16.h
index f30678bac6c6d6efd2f93c30c2861744e28a5ae2..08acdafb79c837bef5c4b2be24e6cd64402fb21c 100644 (file)
 #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 len);
+                       unsigned long long len) APT_PURE;
 
 #endif