[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] tools: use xen-tools/libs.h for common definitions



There are some macros defined multiple times in tools. Use only
xen-tools/libs.h for defining those macros and drop the copies.

Juergen Gross (3):
  tools: add container_of() macro to xen-tools/libs.h
  tools: get rid of additional min() and max() definitions
  tools: add offsetof() to xen-tools/libs.h

 tools/firmware/hvmloader/util.h        | 11 ++---------
 tools/firmware/include/stddef.h        |  4 ++--
 tools/include/xen-tools/libs.h         |  8 ++++++++
 tools/libfsimage/Rules.mk              |  2 ++
 tools/libfsimage/xfs/fsys_xfs.c        |  4 +---
 tools/libs/vchan/init.c                |  7 +------
 tools/tests/vhpet/emul.h               | 14 --------------
 tools/tests/vpci/emul.h                | 22 +---------------------
 tools/tests/x86_emulator/x86-emulate.h |  5 -----
 tools/xenstore/list.h                  |  6 ++----
 10 files changed, 19 insertions(+), 64 deletions(-)

-- 
2.35.3




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.