X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e07f3d5a9ed2870a0e2909cc1e5e55e826086c53..a473295d01ed9c599926d9a8c212d4e1a404f78b:/apt-pkg/contrib/strutl.h diff --git a/apt-pkg/contrib/strutl.h b/apt-pkg/contrib/strutl.h index f3591d65f..918ac89c7 100644 --- a/apt-pkg/contrib/strutl.h +++ b/apt-pkg/contrib/strutl.h @@ -140,6 +140,11 @@ bool CheckDomainList(const std::string &Host, const std::string &List); #define tolower_ascii tolower_ascii_inline #define isspace_ascii isspace_ascii_inline +APT_CONST APT_HOT +static inline int tolower_ascii_unsafe(int const c) +{ + return c | 0x20; +} APT_CONST APT_HOT static inline int tolower_ascii_inline(int const c) {