From 25ab651cce3876ff0b23e5a4f92bf0ce867af7a2 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 30 Jan 2017 12:04:29 +0100 Subject: axspawn: Remove unused function Xtoupper(). Signed-off-by: Ralf Baechle --- ax25/axspawn.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ax25') 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)) { -- cgit v1.2.3