summaryrefslogtreecommitdiff
path: root/iwinfo_lib.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-05-08 13:21:16 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-05-08 13:21:16 +0200
commit9842d2507fa19cdf7d0bfd76df73609d14473b49 (patch)
tree364dcdd7408bf22bdb1962a5c6e8d6b07743d34a /iwinfo_lib.c
parent6e67940be59e1aee5d275dd61172b257cb34d726 (diff)
downloadiwinfo-9842d2507fa19cdf7d0bfd76df73609d14473b49.tar.gz
iwinfo: move ARRAY_SIZE macro to iwinfo/utils.h
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'iwinfo_lib.c')
-rw-r--r--iwinfo_lib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/iwinfo_lib.c b/iwinfo_lib.c
index c30d834..0ab7be0 100644
--- 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,