projects
/
project
/
iwinfo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iwinfo: move ARRAY_SIZE macro to iwinfo/utils.h
[project/iwinfo.git]
/
iwinfo_lib.c
diff --git
a/iwinfo_lib.c
b/iwinfo_lib.c
index
c30d834
..
0ab7be0
100644
(file)
--- a/
iwinfo_lib.c
+++ b/
iwinfo_lib.c
@@
-313,10
+313,6
@@
const struct iwinfo_iso3166_label IWINFO_ISO3166_NAMES[] = {
{ 0, "" }
};
-#ifndef ARRAY_SIZE
-#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-#endif
-
static const struct iwinfo_ops *backends[] = {
#ifdef USE_NL80211
&nl80211_ops,