lib: move strspn()
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:52:57 +0000 (14:52 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:52:57 +0000 (14:52 +0200)
commitb3573bbd2ea6c8cdbe8c3a635354404fc19478f8
treefabf9a2a2e4ec6506283b9e29b1769f94095707f
parent3acd02a50b3b271284d2a37227c658b2cdae8231
lib: move strspn()

Allow the function to be individually linkable, discardable, and
overridable. In fact the function is unused at present, and hence will
now get omitted from the final binaries.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/common/string.c
xen/lib/Makefile
xen/lib/strspn.c [new file with mode: 0644]