]> sigrok.org Git - libsigrokdecode.git/blobdiff - sigrokdecode-internal.h
srd: Drop unused ARRAY_SIZE/ARRAY_AND_SIZE for now.
[libsigrokdecode.git] / 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);