diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-10-10 04:30:19 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-10-10 04:30:19 +0200 |
commit | b9457c321f98f7d71d72c722ffc85cc6fabfb873 (patch) | |
tree | 74134270df8969de89969be6eff3972f98ccee57 | |
parent | 2201becca443c28cb722b6a536b70a5f5d144124 (diff) | |
download | liberty-b9457c321f98f7d71d72c722ffc85cc6fabfb873.tar.gz liberty-b9457c321f98f7d71d72c722ffc85cc6fabfb873.tar.xz liberty-b9457c321f98f7d71d72c722ffc85cc6fabfb873.zip |
Rename cstr_transform() argument
It does not always have to be tolower().
-rw-r--r-- | liberty.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 * |