lib: move strncmp()
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:48:38 +0000 (14:48 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:48:38 +0000 (14:48 +0200)
commit187e1e21d69faf43754ecfe79aa6b3119736a8ea
tree8c56e295d8f75f3d7661bd6dbcbf8f5c3fd9dc17
parent4d0e3e734676c48b405c80344ba97060fcc0cad8
lib: move strncmp()

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/common/string.c
xen/lib/Makefile
xen/lib/strncmp.c [new file with mode: 0644]