diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2021-11-30 10:56:00 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-01-03 18:59:51 +0100 |
commit | c033faff44a991db726e1dae95441a75ea44084e (patch) | |
tree | c69c21751992e1a84e16a3a0a71b121cd18b8f63 /include | |
parent | a5d2789474494fae044a48fbffe84601f3f40374 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/ulogd/ulogd.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/ulogd/ulogd.h b/include/ulogd/ulogd.h index a487c8e..092d9f5 100644 --- a/include/ulogd/ulogd.h +++ b/include/ulogd/ulogd.h @@ -28,11 +28,6 @@ /* types without length */ #define ULOGD_RET_NONE 0x0000 -#define __packed __attribute__((packed)) -#define __noreturn __attribute__((noreturn)) -#define __cold __attribute__((cold)) - -#define __packed __attribute__((packed)) #define ULOGD_RET_INT8 0x0001 #define ULOGD_RET_INT16 0x0002 |