projects
/
libsigrokdecode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d87f6
)
srd: Drop unused ARRAY_SIZE/ARRAY_AND_SIZE for now.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 14 Mar 2012 21:12:08 +0000
(22:12 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 14 Mar 2012 21:44:30 +0000
(22:44 +0100)
sigrokdecode-internal.h
patch
|
blob
|
history
diff --git
a/sigrokdecode-internal.h
b/sigrokdecode-internal.h
index bdd7563d7c777987150432b59a548662ed4d0596..3a9df2edf8accf456a0a54d5edc46f3d00be9750 100644
(file)
--- 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);