bool has_suffix_c(const char *s, int c);
void trim_suffix_c(char *s, int c);
void to_lower(char *s);
-void ToUpper(char *s);
+void to_upper(char *s);
/*
* See if a string contains 8 bit characters (use isascii() for the test).
}
-/* ToUpper runs all of s through toupper(3). */
-void ToUpper(char *s)
+/* to_upper runs all of s through toupper(3). */
+void to_upper(char *s)
{
unsigned char *b;
upcase (const char *str) {
char *up = cpytrim (str);
- ToUpper(up);
+ to_upper(up);
return up;
}
if (!(c1->c_flags & HDROUTPUT) && !(c1->c_flags & NOCOMPONENT)) {
if (c1->c_flags & UPPERCASE) /* uppercase component also */
- ToUpper(text);
+ to_upper(text);
putstr(text, c1->c_flags);
if (flag != BODYCOMP) {
putstr (": ", c1->c_flags);
&& !(c2->c_flags & HDROUTPUT)
&& !(c2->c_flags & NOCOMPONENT)) {
if (c1->c_flags & UPPERCASE)
- ToUpper(c2->c_name);
+ to_upper(c2->c_name);
putstr (c2->c_name, c1->c_flags);
putstr (": ", c1->c_flags);
if (!(c1->c_flags & SPLIT))
putstr (" ", c1->c_flags);
}
if (c1->c_flags & UPPERCASE)
- ToUpper(c2->c_text);
+ to_upper(c2->c_text);
count = 0;
if (cchdr) {