From: Victor Julien Date: Wed, 16 Dec 2015 09:49:50 +0000 (+0100) Subject: icmpv4: remove unused declarations X-Git-Tag: suricata-3.0RC3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=375092da8505cc353e5a72127b6cab7302d3ee78;p=thirdparty%2Fsuricata.git icmpv4: remove unused declarations --- diff --git a/src/decode-icmpv4.h b/src/decode-icmpv4.h index 02184dfd34..da5821d675 100644 --- a/src/decode-icmpv4.h +++ b/src/decode-icmpv4.h @@ -236,13 +236,6 @@ typedef struct ICMPV4Vars_ /* If message is Error */ -/** macro for icmpv4 "unused" access */ -#define ICMPV4_GET_UNUSED(p) (p)->icmpv4h->icmpv4b.icmpv4e.unused -/** macro for icmpv4 "error_ptr" access */ -#define ICMPV4_GET_ERROR_PTR(p) (p)->icmpv4h->icmpv4b.icmpv4e.error_ptr -/** macro for icmpv4 "mtu" access */ -#define ICMPV4_GET_MTU(p) (p)->icmpv4h->icmpv4b.icmpv4e.mtu - /** macro for icmpv4 embedded "protocol" access */ #define ICMPV4_GET_EMB_PROTO(p) (p)->icmpv4vars.emb_ip4_proto /** macro for icmpv4 embedded "ipv4h" header access */ @@ -282,9 +275,6 @@ typedef struct ICMPV4Vars_ ICMPV4_GET_TYPE((p)) == ICMP_TIME_EXCEEDED || \ ICMPV4_GET_TYPE((p)) == ICMP_PARAMETERPROB) -typedef struct ICMPV4Cache_ { -} ICMPV4Cache; - void DecodeICMPV4RegisterTests(void); /** ------ Inline functions ------ */