]> git.ipfire.org Git - thirdparty/kmod.git/commit
shared/macro: avoid nesting macros where possible
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 3 Jun 2025 18:00:49 +0000 (19:00 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 11 Jun 2025 12:54:40 +0000 (07:54 -0500)
commit20e91b3a6b38812aacb2c3308bde50ab5b103bc6
tree035c229c70541a6aadecfa4acdaf4a1396a2c6cc
parent32008fc497f5260a580873fb403d9f100c98bc85
shared/macro: avoid nesting macros where possible

Always try to use the attribute notation, so that we can reliably
collect all the macros in our .clang-format.

In the process, we can remove some (no longer used) macros.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/361
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
.clang-format
shared/macro.h