]> git.ipfire.org Git - thirdparty/kmod.git/commit
shared: fix UNIQ definition
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 18 Dec 2020 16:02:08 +0000 (08:02 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 28 Dec 2020 00:40:08 +0000 (16:40 -0800)
commite4a72e4754304ebd53eb81dd013b234de54aecf0
treed72dd64c1ff39a98f818ac3f0b910bd503ee1401
parent220b4c55ec219d6a9e10fc343df4691fbe5339b1
shared: fix UNIQ definition

We need a macro indirection for UNIQ to work. Otherwise it won't be
unique at all since it will just append "UNIQ" to the name:

In file included from testsuite/test-init.c:30:

testsuite/testsuite.h:142:27: error: redefinition of â€˜stest_load_resourcesUNIQ’
shared/macro.h
testsuite/testsuite.h