From b9457c321f98f7d71d72c722ffc85cc6fabfb873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sat, 10 Oct 2020 04:30:19 +0200 Subject: Rename cstr_transform() argument It does not always have to be tolower(). --- liberty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liberty.c b/liberty.c index 1de6a35..d151c00 100644 --- a/liberty.c +++ b/liberty.c @@ -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 * -- cgit v1.2.3