Trim some noise from some #ifdef's. This had leaked into the compat32
support for bpf(4) due to hacks in the Y! tree for a truss32 binary (since superseded by native support for 32-bit binaries in truss itself). MFC after: 1 week
This commit is contained in:
parent
c316a7ab32
commit
feaed6c57e
@ -374,7 +374,7 @@ struct ifconf {
|
||||
#define ifc_req ifc_ifcu.ifcu_req /* array of structures returned */
|
||||
};
|
||||
|
||||
#if defined (__amd64__) || defined (COMPAT_32BIT)
|
||||
#if defined (__amd64__)
|
||||
struct ifconf32 {
|
||||
int ifc_len; /* size of associated buffer */
|
||||
union {
|
||||
|
@ -62,7 +62,7 @@
|
||||
#define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq) /* set broadcast addr */
|
||||
#define OSIOCGIFCONF _IOWR('i', 20, struct ifconf) /* get ifnet list */
|
||||
#define SIOCGIFCONF _IOWR('i', 36, struct ifconf) /* get ifnet list */
|
||||
#if defined (__amd64__) || defined (COMPAT_32BIT)
|
||||
#if defined (__amd64__)
|
||||
#define SIOCGIFCONF32 _IOWR('i', 36, struct ifconf32) /* get ifnet list */
|
||||
#endif
|
||||
#define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq) /* get net addr mask */
|
||||
|
Loading…
Reference in New Issue
Block a user