lib: move strchr()
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:50:25 +0000 (14:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:50:25 +0000 (14:50 +0200)
commit7095953455001bb2d95792bb0b9c822e479b1c57
tree2f619e771da5bb223bcfdf3c1b6505dd1312354a
parent9c1e40fb7f9b197fa1c20842bc2fdb47550a2f33
lib: move strchr()

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