lib: move memcmp()
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:45:06 +0000 (14:45 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:45:06 +0000 (14:45 +0200)
commit880d89fbfe7ea4229f58d87ad5959acca41d5d12
tree2eaa0c535ebb4052ca16a12e6c40bb0b99847459
parentb85fabd2e5003861293f131256252bca1afbaa91
lib: move memcmp()

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/memcmp.c [new file with mode: 0644]