From bf96599f1916667cc8f1c19b58fe9cae4a1e3d66 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Tue, 18 Oct 2016 22:41:55 +0200 Subject: Drop redundant SIZEOF() macro Change-Id: I6db2033746f5f22dd0229c96727bb352bdb1e866 Reviewed-on: https://code.wireshark.org/review/18298 Reviewed-by: Balint Reczey Petri-Dish: Balint Reczey Reviewed-by: Anders Broman --- plugins/gryphon/packet-gryphon.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/gryphon/packet-gryphon.h') 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; -- cgit v1.2.1