From a759e1a143122dd73f9051a3d48c4846839c340e Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 14 Mar 2012 22:12:08 +0100 Subject: [PATCH] srd: Drop unused ARRAY_SIZE/ARRAY_AND_SIZE for now. --- sigrokdecode-internal.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sigrokdecode-internal.h b/sigrokdecode-internal.h index bdd7563..3a9df2e 100644 --- a/sigrokdecode-internal.h +++ b/sigrokdecode-internal.h @@ -24,16 +24,6 @@ #include "sigrokdecode.h" -/*--- Macros ----------------------------------------------------------------*/ - -#ifndef ARRAY_SIZE -#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) -#endif - -#ifndef ARRAY_AND_SIZE -#define ARRAY_AND_SIZE(a) (a), ARRAY_SIZE(a) -#endif - /*--- controller.c ----------------------------------------------------------*/ SRD_PRIV int add_modulepath(const char *path); -- 2.30.2