V4:
http://mid.mail-archive.com/20230224043937.392235-1-lersek@redhat.com
Please see the Notes section in each patch for the updates.
Laszlo
Laszlo Ersek (5):
common/include: add TYPE_IS_POINTER() macro
common/include: extract STATIC_ASSERT() macro
force semicolon after DEFINE_VECTOR_TYPE() macro invocations
vector: introduce DEFINE_POINTER_VECTOR_TYPE()
convert string_vector_(iter(free) + reset()) to string_vector_empty()
common/include/Makefile.am | 1 +
common/include/checked-overflow.h | 8 ++--
common/include/compiler-macros.h | 31 ++++++++++++-
common/include/static-assert.h | 48 ++++++++++++++++++++
common/include/test-array-size.c | 45 ++++++------------
common/utils/string-vector.h | 2 +-
common/utils/test-vector.c | 3 +-
common/utils/vector.h | 42 ++++++++++++++++-
copy/file-ops.c | 2 +-
copy/nbd-ops.c | 2 +-
dump/dump.c | 2 +-
fuse/nbdfuse.h | 2 +-
generator/states-connect-socket-activation.c | 9 ++--
info/list.c | 2 +-
info/map.c | 2 +-
info/show.c | 3 +-
lib/handle.c | 12 ++---
lib/uri.c | 2 +-
lib/utils.c | 6 +--
ublk/nbdublk.h | 2 +-
ublk/tgt.c | 2 +-
21 files changed, 157 insertions(+), 71 deletions(-)
create mode 100644 common/include/static-assert.h
base-commit: 594f7a738e0aba23eda37965c96b3df6b8f76960