Date: Fri, 18 Mar 2016 04:09:27 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297009 - head/sbin/ifconfig Message-ID: <201603180409.u2I49RuB088703@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Fri Mar 18 04:09:27 2016 New Revision: 297009 URL: https://svnweb.freebsd.org/changeset/base/297009 Log: Remove duplicate LE_READ_4() definition. Tested: * typed 'make', seemed to work. Modified: head/sbin/ifconfig/ifieee80211.c Modified: head/sbin/ifconfig/ifieee80211.c ============================================================================== --- head/sbin/ifconfig/ifieee80211.c Fri Mar 18 04:00:57 2016 (r297008) +++ head/sbin/ifconfig/ifieee80211.c Fri Mar 18 04:09:27 2016 (r297009) @@ -3071,14 +3071,6 @@ printcountry(const char *tag, const u_in 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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603180409.u2I49RuB088703>