]> diplodocus.org Git - nmh/commitdiff
Rename recently added ToLower() to to_lower().
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 10 Dec 2016 14:45:00 +0000 (14:45 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 10 Dec 2016 14:45:00 +0000 (14:45 +0000)
h/utils.h
sbr/utils.c
uip/mhparse.c

index 7dc407d..6b0f3c9 100644 (file)
--- a/h/utils.h
+++ b/h/utils.h
@@ -71,7 +71,7 @@ bool has_prefix(const char *s, const char *prefix);
 bool has_suffix(const char *s, const char *suffix);
 bool has_suffix_c(const char *s, int c);
 void trim_suffix_c(char *s, int c);
 bool has_suffix(const char *s, const char *suffix);
 bool has_suffix_c(const char *s, int c);
 void trim_suffix_c(char *s, int c);
-void ToLower(char *s);
+void to_lower(char *s);
 void ToUpper(char *s);
 
 /*
 void ToUpper(char *s);
 
 /*
index 93ddc50..680db37 100644 (file)
@@ -416,8 +416,8 @@ void trim_suffix_c(char *s, int c)
 }
 
 
 }
 
 
-/* ToLower runs all of s through tolower(3). */
-void ToLower(char *s)
+/* to_lower runs all of s through tolower(3). */
+void to_lower(char *s)
 {
     unsigned char *b;
 
 {
     unsigned char *b;
 
index 5b1758d..85c3292 100644 (file)
@@ -662,7 +662,7 @@ get_ctinfo (char *cp, CT ct, int magic)
                TYPE_FIELD, ct->c_file);
        return NOTOK;
     }
                TYPE_FIELD, ct->c_file);
        return NOTOK;
     }
-    ToLower(ci->ci_type);
+    to_lower(ci->ci_type);
 
     while (isspace ((unsigned char) *cp))
        cp++;
 
     while (isspace ((unsigned char) *cp))
        cp++;
@@ -697,7 +697,7 @@ get_ctinfo (char *cp, CT ct, int magic)
                TYPE_FIELD, ct->c_file, ci->ci_type);
        return NOTOK;
     }
                TYPE_FIELD, ct->c_file, ci->ci_type);
        return NOTOK;
     }
-    ToLower(ci->ci_subtype);
+    to_lower(ci->ci_subtype);
 
 magic_skip:
     while (isspace ((unsigned char) *cp))
 
 magic_skip:
     while (isspace ((unsigned char) *cp))