summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/strutl.cc
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/strutl.cc
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/strutl.cc')
-rw-r--r--apt-pkg/contrib/strutl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc
index 964f0d6c6..f2fc0b6a6 100644
--- a/apt-pkg/contrib/strutl.cc
+++ b/apt-pkg/contrib/strutl.cc
@@ -1482,7 +1482,7 @@ string StripEpoch(const string &VerStr)
standard tolower/toupper and as a bonus avoids problems with different
locales - we only operate on ascii chars anyway. */
#undef tolower_ascii
-int tolower_ascii(int const c) APT_CONST APT_COLD;
+int tolower_ascii(int const c) APT_PURE APT_COLD;
int tolower_ascii(int const c)
{
return tolower_ascii_inline(c);
@@ -1496,7 +1496,7 @@ int tolower_ascii(int const c)
standard isspace() and as a bonus avoids problems with different
locales - we only operate on ascii chars anyway. */
#undef isspace_ascii
-int isspace_ascii(int const c) APT_CONST APT_COLD;
+int isspace_ascii(int const c) APT_PURE APT_COLD;
int isspace_ascii(int const c)
{
return isspace_ascii_inline(c);