[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v5 0/5] tools: use xen-tools/libs.h for common definitions
There are some macros defined multiple times in tools. Use only a single header file for defining those macros and drop the copies, or use stddef.h for offsetof(). V2: - add patch 1 (Andrew Cooper) V3: - address comments V4: - patch 1 of V3 already applied - new patches 3-5 V5: - swap patches 1 and 2 in order to avoid build error Juergen Gross (5): tools: get rid of additional min() and max() definitions tools: add container_of() macro to xen-tools/common-macros.h tools/hvmloader: remove private offsetof() definition tools/libfsimage: remove private offsetof() definition tools/libs/vchan: remove private offsetof() definition tools/firmware/hvmloader/util.h | 11 ++--------- tools/include/xen-tools/common-macros.h | 5 +++++ tools/libfsimage/xfs/fsys_xfs.c | 4 +--- tools/libs/vchan/init.c | 8 ++------ tools/tests/vpci/Makefile | 2 +- tools/tests/vpci/emul.h | 22 +--------------------- tools/tests/x86_emulator/x86-emulate.h | 5 ----- tools/xenstore/list.h | 6 ++---- 8 files changed, 14 insertions(+), 49 deletions(-) -- 2.35.3
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |