From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Andreas Pape In-Reply-To: <20160904182331.18118-1-sven@narfation.org> References: <20160904182331.18118-1-sven@narfation.org> Mime-Version: 1.0 Message-ID: <20160915160224.34d256a4@ubuntu> Date: Thu, 15 Sep 2016 16:02:24 +0200 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [B.A.T.M.A.N.] batctl: Work around uclibc collision for __unused List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sven Eckelmann Cc: b.a.t.m.a.n@lists.open-mesh.org On Sun, 4 Sep 2016 20:23:31 +0200 Sven Eckelmann wrote: > uclibc on 64 bit systems uses struct members called __unused. These > conflict with the definition of __unused in batctl. Such a conflict > results in a build error because the struct member will be replaced with > the __attribute__((unused)). > > This can be avoided by renaming it to the Linux kernel name > "__maybe_unused". > > Signed-off-by: Sven Eckelmann Tested-by: Andreas Pape .................................................................. PHOENIX CONTACT ELECTRONICS GmbH Sitz der Gesellschaft / registered office of the company: 31812 Bad Pyrmont USt-Id-Nr.: DE811742156 Amtsgericht Hannover HRB 100528 / district court Hannover HRB 100528 Gesch=C3=A4ftsf=C3=BChrer / Executive Board: Ulrich Leidecker, Christoph Le= ifer __________________________________________________________________ Diese E-Mail enth=C3=A4lt vertrauliche und/oder rechtlich gesch=C3=BCtzte I= nformationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail i= rrt=C3=BCmlich erhalten haben, informieren Sie bitte sofort den Absender un= d vernichten Sie diese Mail. Das unerlaubte Kopieren, jegliche anderweitige= Verwendung sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. ---------------------------------------------------------------------------= ------------------------- This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient (or have received this e-mail in error) plea= se notify the sender immediately and destroy this e-mail. Any unauthorized = copying, disclosure, distribution or other use of the material or parts the= reof is strictly forbidden. ___________________________________________________________________