common: add WARN_UNUSED macro

pull/2467/head
Victor Julien 9 years ago
parent 8c65d45d55
commit df28c1ac6e

@ -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,

Loading…
Cancel
Save