]> sigrok.org Git - libsigrokdecode.git/commitdiff
srd: Drop unused ARRAY_SIZE/ARRAY_AND_SIZE for now.
authorUwe Hermann <redacted>
Wed, 14 Mar 2012 21:12:08 +0000 (22:12 +0100)
committerUwe Hermann <redacted>
Wed, 14 Mar 2012 21:44:30 +0000 (22:44 +0100)
sigrokdecode-internal.h

index bdd7563d7c777987150432b59a548662ed4d0596..3a9df2edf8accf456a0a54d5edc46f3d00be9750 100644 (file)
 
 #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);