From 1c332f6117bf1ffbc5e1e1724be23a7f4e56434f Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 15 May 2017 18:58:19 +0100 Subject: [PATCH] sbr/utils.c: Delete unused upcase() function. --- h/prototypes.h | 1 - sbr/utils.c | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/h/prototypes.h b/h/prototypes.h index 0541f515..c582ae74 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -59,7 +59,6 @@ char *cpytrim (const char *); char *rtrim (char *); int decode_rfc2047 (char *, char *, size_t); void discard (FILE *); -char *upcase (const char *); /* * Decode two characters into their quoted-printable representation. diff --git a/sbr/utils.c b/sbr/utils.c index e0725148..a4cdc4fc 100644 --- a/sbr/utils.c +++ b/sbr/utils.c @@ -546,18 +546,6 @@ nmh_version_changed (int older) { } -/* Returns copy of argument str with all characters converted to upper - case, and trimmed whitespace (see cpytrim()) . */ -char * -upcase (const char *str) { - char *up = cpytrim (str); - - to_upper(up); - - return up; -} - - /* * Scan for any 8-bit characters. Return 1 if they exist. * -- 2.56.0