lib: move/rename strnicmp() to strncasecmp()
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:51:47 +0000 (14:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:51:47 +0000 (14:51 +0200)
commit3acd02a50b3b271284d2a37227c658b2cdae8231
tree577ccc66a19728a797c1b4fb8ebd08dbc36a0262
parent50ee4fb90a525c9b543cabe78a3df6d8588bba30
lib: move/rename strnicmp() to strncasecmp()

While moving the implementation, also rename it to match strcasecmp(),
allowing the similar use of a compiler builtin in this case as well.

Allow the function to be individually linkable, discardable, and
overridable.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/domain_build.c
xen/common/string.c
xen/drivers/acpi/pmstat.c
xen/drivers/cpufreq/cpufreq.c
xen/include/xen/string.h
xen/lib/Makefile
xen/lib/strncasecmp.c [new file with mode: 0644]