diff options
author | Julian Andres Klode <jak@debian.org> | 2020-02-18 12:40:38 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2020-02-18 12:40:38 +0000 |
commit | 1cab45a32c1b87f22ec80adf019eb3de7ef2605d (patch) | |
tree | 8aa4ec8fc533526814fed6366d6d52adee053e22 /apt-pkg/contrib/crc-16.h | |
parent | 62683ed6459e874119f3346d8be66b85e8a90533 (diff) | |
parent | 237ef6d210a0370131deb58277e77d579d58d15a (diff) |
Merge branch 'pu/no-more-crc16' into 'master'
ABI break: Remove CRC-16
See merge request apt-team/apt!97
Diffstat (limited to 'apt-pkg/contrib/crc-16.h')
-rw-r--r-- | apt-pkg/contrib/crc-16.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/apt-pkg/contrib/crc-16.h b/apt-pkg/contrib/crc-16.h deleted file mode 100644 index 3e0756007..000000000 --- a/apt-pkg/contrib/crc-16.h +++ /dev/null @@ -1,19 +0,0 @@ -// -*- mode: cpp; mode: fold -*- -// Description /*{{{*/ -/* ###################################################################### - - CRC16 - Compute a 16bit crc very quickly - - ##################################################################### */ - /*}}}*/ -#ifndef APTPKG_CRC16_H -#define APTPKG_CRC16_H - -#include <apt-pkg/macros.h> - -#define INIT_FCS 0xffff -unsigned short AddCRC16Byte(unsigned short fcs, unsigned char byte) APT_PURE; -unsigned short AddCRC16(unsigned short fcs, void const *buf, - unsigned long long len) APT_PURE; - -#endif |