]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
output: IPFIX: remove compiler attribute macros
authorJeremy Sowden <jeremy@azazel.net>
Tue, 30 Nov 2021 10:56:00 +0000 (10:56 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 3 Jan 2022 17:59:51 +0000 (18:59 +0100)
commitc033faff44a991db726e1dae95441a75ea44084e
treec69c21751992e1a84e16a3a0a71b121cd18b8f63
parenta5d2789474494fae044a48fbffe84601f3f40374
output: IPFIX: remove compiler attribute macros

The ipfix.h header includes three macros which expand to compiler attributes.
Presumably, at some point the definitions were one branch of an if-else
preprocessor conditional where the definitions in the other branch expanded to
nothing.  This is no longer the case.  Only one of the macros (`__packed`) is
used and the raw attribute is used elsewhere in the code-base.  Remove the
macros.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/ulogd/ulogd.h
output/ipfix/ipfix.c
output/ipfix/ipfix.h