summaryrefslogtreecommitdiff
path: root/plugins/gryphon/packet-gryphon.h
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2016-10-18 22:41:55 +0200
committerAnders Broman <a.broman58@gmail.com>2016-10-19 04:02:06 +0000
commitbf96599f1916667cc8f1c19b58fe9cae4a1e3d66 (patch)
treed2106bfdf9eecd4f4470f15426efe0c3c05e26ee /plugins/gryphon/packet-gryphon.h
parent739bdfb45f6e6f78a88e978de1eff088377e8330 (diff)
downloadwireshark-bf96599f1916667cc8f1c19b58fe9cae4a1e3d66.tar.gz
Drop redundant SIZEOF() macro
Change-Id: I6db2033746f5f22dd0229c96727bb352bdb1e866 Reviewed-on: https://code.wireshark.org/review/18298 Reviewed-by: Balint Reczey <balint@balintreczey.hu> Petri-Dish: Balint Reczey <balint@balintreczey.hu> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'plugins/gryphon/packet-gryphon.h')
-rw-r--r--plugins/gryphon/packet-gryphon.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/gryphon/packet-gryphon.h b/plugins/gryphon/packet-gryphon.h
index 75b7f22b21..3d7b9a5a3c 100644
--- a/plugins/gryphon/packet-gryphon.h
+++ b/plugins/gryphon/packet-gryphon.h
@@ -449,8 +449,6 @@
#define GLIN 0x0b /* LIN TYPE */
#define GDGLIN08 0x01 /* DG HC08 SUBTYPE */
-#define SIZEOF(x) (sizeof(x)/sizeof(x[0]))
-
#define MEMCPY(dest, src, size) \
memcpy (dest, src, size); \
*((dest)+size) = 0;