summaryrefslogtreecommitdiff
path: root/sigrokdecode-internal.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-03-14 22:12:08 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-14 22:44:30 +0100
commita759e1a143122dd73f9051a3d48c4846839c340e (patch)
tree65db16f45224884d7ebedd7538ca8b29fcf8e71e /sigrokdecode-internal.h
parentf9d87f641e55cd643037d81d7221ddc169cdae6b (diff)
downloadlibsigrokdecode-a759e1a143122dd73f9051a3d48c4846839c340e.tar.gz
libsigrokdecode-a759e1a143122dd73f9051a3d48c4846839c340e.zip
srd: Drop unused ARRAY_SIZE/ARRAY_AND_SIZE for now.
Diffstat (limited to 'sigrokdecode-internal.h')
-rw-r--r--sigrokdecode-internal.h10
1 files changed, 0 insertions, 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);