From: Ralph Corderoy Date: Mon, 15 May 2017 17:58:19 +0000 (+0100) Subject: sbr/utils.c: Delete unused upcase() function. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/1c332f6117bf1ffbc5e1e1724be23a7f4e56434f?ds=sidebyside;hp=--cc sbr/utils.c: Delete unused upcase() function. --- 1c332f6117bf1ffbc5e1e1724be23a7f4e56434f 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. *