From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id 14F01385415D; Mon, 11 Jul 2022 11:54:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14F01385415D Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Use thunks for compat ioctls using struct ifgroupreq. X-Act-Checkin: newlib-cygwin X-Git-Author: John Baldwin X-Git-Refname: refs/heads/master X-Git-Oldrev: 19a627f3a45e6df12bd598b94afe562f8f5c6303 X-Git-Newrev: 8424d5c94967e7f85cc062310442de10415d169b Message-Id: <20220711115425.14F01385415D@sourceware.org> Date: Mon, 11 Jul 2022 11:54:25 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 11:54:25 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D8424d5c9496= 7e7f85cc062310442de10415d169b commit 8424d5c94967e7f85cc062310442de10415d169b Author: John Baldwin Date: Wed May 5 13:59:00 2021 -0700 Use thunks for compat ioctls using struct ifgroupreq. =20 Reviewed by: brooks, kib Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D29893 Diff: --- newlib/libc/sys/rtems/include/net/if.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/newlib/libc/sys/rtems/include/net/if.h b/newlib/libc/sys/rtems= /include/net/if.h index a469a1f60..c15013005 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 }; =20 /*