summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-30 12:04:29 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-02-06 23:43:46 +0100
commit25ab651cce3876ff0b23e5a4f92bf0ce867af7a2 (patch)
tree0091263c8cc95f3aa63f1c987443af0f00919c15
parent7a1403c6c59c30feb904a10675685c305f32555f (diff)
axspawn: Remove unused function Xtoupper().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--ax25/axspawn.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ax25/axspawn.c b/ax25/axspawn.c
index e16cc2c..413b554 100644
--- a/ax25/axspawn.c
+++ b/ax25/axspawn.c
@@ -467,15 +467,6 @@ static int Xtolower(int c)
/*---------------------------------------------------------------------------*/
-/* Use private function because some platforms are broken, eg 386BSD */
-
-int Xtoupper(int c)
-{
- return (c >= 'a' && c <= 'z') ? (c - 'a' + 'A') : c;
-}
-
-/*---------------------------------------------------------------------------*/
-
int Strcasecmp(const char *s1, const char *s2)
{
while (Xtolower(*s1) == Xtolower(*s2)) {