From 237ef6d210a0370131deb58277e77d579d58d15a Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 17 Jan 2020 14:35:04 +0100 Subject: Remove CRC-16 implementation --- apt-pkg/contrib/crc-16.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 apt-pkg/contrib/crc-16.h (limited to 'apt-pkg/contrib/crc-16.h') 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 - -#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 -- cgit v1.2.3-70-g09d2