tools: Move the typesafe min/max helpers into xen-tools/libs.h
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 19 Jul 2018 15:42:07 +0000 (16:42 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Nov 2018 17:07:11 +0000 (17:07 +0000)
commitb7829ea3cb02112d96038b1b6fd9984b10d16396
tree55bf0877e4f598857622db233156d538349dcee2
parentf2722ea0230dca796f63148d8ed3313f1dbcbe8b
tools: Move the typesafe min/max helpers into xen-tools/libs.h

... rather than implementing them separately for libxc and libxl.  They will
shortly be wanted in libx86 as well.

Fix up the style/consistency in the declaration, but no functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/include/xen-tools/libs.h
tools/libxc/xc_private.h
tools/libxl/libxl_internal.h