]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/crc-16.h
fileutl: simple_buffer: Add write() and full() methods
[apt.git] / apt-pkg / contrib / crc-16.h
index 757104c54e518d60e452b7927bfaabc733896075..08acdafb79c837bef5c4b2be24e6cd64402fb21c 100644 (file)
 #ifndef APTPKG_CRC16_H
 #define APTPKG_CRC16_H
 
-#ifdef __GNUG__
-#pragma interface "apt-pkg/crc-16.h"
-#endif 
+#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