]> diplodocus.org Git - nmh/commitdiff
sbr/utils.c: Delete unused upcase() function.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 15 May 2017 17:58:19 +0000 (18:58 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 15 May 2017 17:58:19 +0000 (18:58 +0100)
h/prototypes.h
sbr/utils.c

index 0541f51545046c2c81ebb39254e1690311b63f78..c582ae7485fe7509d5906045e815b73069b301be 100644 (file)
@@ -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.
index e0725148fbd0ed6ee6cc39226eae553d945bbe52..a4cdc4fcfb2e95f89cb43bbf64a962eedbf622a8 100644 (file)
@@ -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.
  *