aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/epan/ethercat/packet-ecatmb.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/epan/ethercat/packet-ecatmb.h')
-rw-r--r--plugins/epan/ethercat/packet-ecatmb.h4
1 files changed, 2 insertions, 2 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_ */