summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/crc-16.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-08-24 16:55:15 +0200
committerJulian Andres Klode <jak@debian.org>2017-08-24 16:56:52 +0200
commit0e4ac8334d02ea256f750ad61689f28ff1ebdf6c (patch)
treed1a1b22ec1039c8f8cd2450b28351c34b13605b3 /apt-pkg/contrib/crc-16.h
parent03590fb98226bfdf3147eb78effc3fa7987709bb (diff)
Replace APT_CONST with APT_PURE everywhere
As a follow up to the last commit, let's replace APT_CONST with APT_PURE everywhere to clean stuff up.
Diffstat (limited to 'apt-pkg/contrib/crc-16.h')
-rw-r--r--apt-pkg/contrib/crc-16.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/crc-16.h b/apt-pkg/contrib/crc-16.h
index 6cc3556c6..228b00bc3 100644
--- a/apt-pkg/contrib/crc-16.h
+++ b/apt-pkg/contrib/crc-16.h
@@ -13,7 +13,7 @@
#include <apt-pkg/macros.h>
#define INIT_FCS 0xffff
-unsigned short AddCRC16Byte(unsigned short fcs, unsigned char byte) APT_CONST;
+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;