aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/epan/ethercat/packet-ecatmb.h4
-rw-r--r--plugins/epan/ethercat/packet-ethercat-frame.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/epan/ethercat/packet-ecatmb.h b/plugins/epan/ethercat/packet-ecatmb.h
index 8e481c0e64..fd3ce48b50 100644
--- a/plugins/epan/ethercat/packet-ecatmb.h
+++ b/plugins/epan/ethercat/packet-ecatmb.h
@@ -12,7 +12,7 @@
#define _PACKET_ECATMAILBOX_H_
#include <ws_diag_control.h>
-DIAG_OFF(pedantic)
+DIAG_OFF_PEDANTIC
/* Ensure the same data layout for all platforms */
@@ -467,5 +467,5 @@ typedef struct TETHERCAT_SOE_HEADER
extern void init_mbx_header(PETHERCAT_MBOX_HEADER pMbox, tvbuff_t *tvb, gint offset);
-DIAG_ON(pedantic)
+DIAG_ON_PEDANTIC
#endif /* _PACKET_ECATMAILBOX_H_ */
diff --git a/plugins/epan/ethercat/packet-ethercat-frame.h b/plugins/epan/ethercat/packet-ethercat-frame.h
index 96181f3204..2bb8c19b03 100644
--- a/plugins/epan/ethercat/packet-ethercat-frame.h
+++ b/plugins/epan/ethercat/packet-ethercat-frame.h
@@ -14,7 +14,7 @@
#include <ws_diag_control.h>
/* structure for decoding the header -----------------------------------------*/
-DIAG_OFF(pedantic)
+DIAG_OFF_PEDANTIC
typedef union _EtherCATFrameParser
{
struct
@@ -25,7 +25,7 @@ typedef union _EtherCATFrameParser
} v;
guint16 hdr;
} EtherCATFrameParserHDR;
-DIAG_ON(pedantic)
+DIAG_ON_PEDANTIC
typedef EtherCATFrameParserHDR *PEtherCATFrameParserHDR;
#define EtherCATFrameParserHDR_Len (int)sizeof(EtherCATFrameParserHDR)