From b957327c2a4337dc2219ae3ea5b05de8bed38f8f Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sat, 10 Dec 2016 14:45:00 +0000 Subject: [PATCH] Rename recently added ToLower() to to_lower(). --- h/utils.h | 2 +- sbr/utils.c | 4 ++-- uip/mhparse.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/h/utils.h b/h/utils.h index 7dc407d6..6b0f3c9a 100644 --- 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); -void ToLower(char *s); +void to_lower(char *s); void ToUpper(char *s); /* diff --git a/sbr/utils.c b/sbr/utils.c index 93ddc500..680db378 100644 --- a/sbr/utils.c +++ b/sbr/utils.c @@ -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; diff --git a/uip/mhparse.c b/uip/mhparse.c index 5b1758d0..85c32924 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -662,7 +662,7 @@ get_ctinfo (char *cp, CT ct, int magic) TYPE_FIELD, ct->c_file); return NOTOK; } - ToLower(ci->ci_type); + to_lower(ci->ci_type); 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; } - ToLower(ci->ci_subtype); + to_lower(ci->ci_subtype); magic_skip: while (isspace ((unsigned char) *cp)) -- 2.56.0