diff --git a/src/suricata-common.h b/src/suricata-common.h index 4ac5275fb1..ef14825cec 100644 --- a/src/suricata-common.h +++ b/src/suricata-common.h @@ -317,6 +317,8 @@ #define BIT_U32(n) (1UL << (n)) #define BIT_U64(n) (1ULL << (n)) +#define WARN_UNUSED __attribute__((warn_unused_result)) + typedef enum PacketProfileDetectId_ { PROF_DETECT_IPONLY, PROF_DETECT_RULES,