common: rename UNIQUE_VAR to UNIQUE_NAME, and move it to its own header
commita4d98e57ac727bed150e0422f43ef36a261cecc8
authorLaszlo Ersek <lersek@redhat.com>
Fri, 26 Nov 2021 14:06:50 +0000 (26 15:06 +0100)
committerLaszlo Ersek <lersek@redhat.com>
Sun, 28 Nov 2021 13:40:50 +0000 (28 14:40 +0100)
treeee8f6d0954bdce9cd0af14a6cb012b0e5db9a971
parent370ecb711c23f9143c933e13468e11d688d0d651
common: rename UNIQUE_VAR to UNIQUE_NAME, and move it to its own header

I'd like to use UNIQUE_VAR() outside of "common/utils/cleanup.h"; also,
I'd like to use it for type names as well.

Give UNIQUE_VAR() its own header file, and rename it to UNIQUE_NAME().

A number of Makefiles (using the cleanup module) have to be refreshed;
while at it, make sure the "-I$(top_srcdir)/..." lists are consistently
sorted, and terminated with $(NULL).

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20211126140652.12662-2-lersek@redhat.com>
Acked-by: Richard W.M. Jones <rjones@redhat.com>
20 files changed:
common/include/Makefile.am
common/include/unique-name.h [new file with mode: 0644]
common/utils/cleanup.h
filters/exitwhen/Makefile.am
filters/ext2/Makefile.am
filters/limit/Makefile.am
filters/log/Makefile.am
filters/offset/Makefile.am
filters/xz/Makefile.am
plugins/cc/Makefile.am
plugins/cdi/Makefile.am
plugins/iso/Makefile.am
plugins/memory/Makefile.am
plugins/ondemand/Makefile.am
plugins/perl/Makefile.am
plugins/python/Makefile.am
plugins/split/Makefile.am
plugins/tmpdisk/Makefile.am
server/internal.h
tests/Makefile.am