Rename cstr_transform() argument

It does not always have to be tolower().
This commit is contained in:
Přemysl Eric Janouch 2020-10-10 04:30:19 +02:00
parent 2201becca4
commit b9457c321f
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 2 additions and 2 deletions

View File

@ -2953,10 +2953,10 @@ cstr_strip_in_place (char *s, const char *stripped_chars)
}
static void
cstr_transform (char *s, int (*tolower) (int c))
cstr_transform (char *s, int (*xform) (int c))
{
for (; *s; s++)
*s = tolower (*s);
*s = xform (*s);
}
static char *