aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-05-05 13:59:00 -0700
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-07-11 13:19:29 +0200
commit8424d5c94967e7f85cc062310442de10415d169b (patch)
treec91c5a02d3c7d67f72a45642b7470d9dc5d982c5 /newlib
parent19a627f3a45e6df12bd598b94afe562f8f5c6303 (diff)
downloadnewlib-8424d5c94967e7f85cc062310442de10415d169b.zip
newlib-8424d5c94967e7f85cc062310442de10415d169b.tar.gz
newlib-8424d5c94967e7f85cc062310442de10415d169b.tar.bz2
Use thunks for compat ioctls using struct ifgroupreq.
Reviewed by: brooks, kib Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D29893
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/sys/rtems/include/net/if.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/newlib/libc/sys/rtems/include/net/if.h b/newlib/libc/sys/rtems/include/net/if.h
index a469a1f..c150130 100644
--- a/newlib/libc/sys/rtems/include/net/if.h
+++ b/newlib/libc/sys/rtems/include/net/if.h
@@ -530,10 +530,8 @@ struct ifgroupreq {
char ifgru_group[IFNAMSIZ];
struct ifg_req *ifgru_groups;
} ifgr_ifgru;
-#ifndef _KERNEL
#define ifgr_group ifgr_ifgru.ifgru_group
#define ifgr_groups ifgr_ifgru.ifgru_groups
-#endif
};
/*