]> xenbits.xensource.com Git - people/royger/xen.git/commit
tools: get rid of additional min() and max() definitions
authorJuergen Gross <jgross@suse.com>
Fri, 24 Mar 2023 10:12:32 +0000 (11:12 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Mar 2023 10:12:32 +0000 (11:12 +0100)
commit32eafe88aa7a1478f1149b2bc89aa079e17f5673
treefb8c17c29f3bd112a86140384623a199626b00ab
parent1bbfdc1636c272c48fa74afa69526911d3c2c3aa
tools: get rid of additional min() and max() definitions

Defining min(), min_t(), max() and max_t() at other places than
xen-tools/common-macros.h isn't needed, as the definitions in said
header can be used instead.

Same applies to BUILD_BUG_ON() in hvmloader.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/firmware/hvmloader/util.h
tools/libs/vchan/init.c
tools/tests/vpci/Makefile
tools/tests/vpci/emul.h