lib: move memchr()
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:45:21 +0000 (14:45 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:45:21 +0000 (14:45 +0200)
commitff2e37e64cab577951f1a095086dc2c59d9e7cba
tree982a7e042e7e4aedab46719e959194928b5d6c35
parent880d89fbfe7ea4229f58d87ad5959acca41d5d12
lib: move memchr()

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