diff options
author | adrian <adrian@FreeBSD.org> | 2016-03-18 04:09:27 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2016-03-18 04:09:27 +0000 |
commit | bda76cd476a00a8677462ccf8a6a95f6d02cc410 (patch) | |
tree | 52ad5073cd3df9eebbbaba79d3cbe9d388923498 /sbin/ifconfig | |
parent | 07ff8741cf967275bb63638cd9b32c9b3a2e8722 (diff) | |
download | FreeBSD-src-bda76cd476a00a8677462ccf8a6a95f6d02cc410.zip FreeBSD-src-bda76cd476a00a8677462ccf8a6a95f6d02cc410.tar.gz |
Remove duplicate LE_READ_4() definition.
Tested:
* typed 'make', seemed to work.
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/ifieee80211.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c index a2622f1..a0247a7 100644 --- a/sbin/ifconfig/ifieee80211.c +++ b/sbin/ifconfig/ifieee80211.c @@ -3071,14 +3071,6 @@ printcountry(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) printf(">"); } -/* unaligned little endian access */ -#define LE_READ_4(p) \ - ((u_int32_t) \ - ((((const u_int8_t *)(p))[0] ) | \ - (((const u_int8_t *)(p))[1] << 8) | \ - (((const u_int8_t *)(p))[2] << 16) | \ - (((const u_int8_t *)(p))[3] << 24))) - static __inline int iswpaoui(const u_int8_t *frm) { |