summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-12-29 13:21:45 +0100
committerJulian Andres Klode <jak@debian.org>2015-12-29 13:23:13 +0100
commit390344f9e754e9875d316d0cba192aac113240b1 (patch)
tree85cbb6a5cff85d2ebd17b88dd243fd0b7e515a23
parent202555ac668291065d04c339f36dd4c129945db9 (diff)
strutl.cc: Add declarations for the compat _ascii() functions
This shuts up gcc Gbp-Dch: ignore
-rw-r--r--apt-pkg/contrib/strutl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc
index 60e3156f1..b9bfc2c98 100644
--- a/apt-pkg/contrib/strutl.cc
+++ b/apt-pkg/contrib/strutl.cc
@@ -1377,6 +1377,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)
{
return tolower_ascii_inline(c);
@@ -1390,6 +1391,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)
{
return isspace_ascii_inline(c);