xen, tools: console.h shouldn't require string.h by default
authorWei Liu <wei.liu2@citrix.com>
Fri, 6 Oct 2017 17:41:09 +0000 (18:41 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 9 Oct 2017 08:57:02 +0000 (09:57 +0100)
commit3e4bc919cb1d1e18318a9f95de5e84a75c8f5266
tree2fb1e2d25f05a48669094b7a3626f21389ecd870
parent2c2ae1976da06283e923d97720c0bdcbebf04515
xen, tools: console.h shouldn't require string.h by default

Unilaterally making string.h a prerequisite for console.h is going to
break build for a lot of consumers of console.h.

Define a macro for the new flex ring. Consumers which want to use it
should define the macro.

Partially revert af8d9356417cb617b635c5ace782388ebfe86e3a.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/console/daemon/io.c
xen/arch/arm/vpl011.c
xen/include/Makefile
xen/include/public/io/console.h