From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99157 invoked by alias); 12 Jun 2017 12:01:30 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 99095 invoked by uid 89); 12 Jun 2017 12:01:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*R:D*sourceware.org X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 Jun 2017 12:01:27 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0E33F796E4 for ; Mon, 12 Jun 2017 12:01:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0E33F796E4 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=vinschen@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 0E33F796E4 Received: from calimero.vinschen.de (ovpn-117-161.ams2.redhat.com [10.36.117.161]) by smtp.corp.redhat.com (Postfix) with ESMTP id CBA3C8496E for ; Mon, 12 Jun 2017 12:01:30 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id DF987A805E6; Mon, 12 Jun 2017 14:01:26 +0200 (CEST) Date: Mon, 12 Jun 2017 12:01:00 -0000 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH] Remove FreeBSD specifics from RTEMS Message-ID: <20170612120126.GM13513@calimero.vinschen.de> Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20170612064218.11969-1-sebastian.huber@embedded-brains.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EDJsL2R9iCFAt7IV" Content-Disposition: inline In-Reply-To: <20170612064218.11969-1-sebastian.huber@embedded-brains.de> User-Agent: Mutt/1.8.0 (2017-02-23) X-SW-Source: 2017/txt/msg00403.txt.bz2 --EDJsL2R9iCFAt7IV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1780 On Jun 12 08:42, Sebastian Huber wrote: > For whatever reason FreeBSD renames several functions provided by > and uses weak references to provide the standard function > names. This causes problems on targets lacking proper support for weak > references. We do not need this function renaming on RTEMS. >=20 > Signed-off-by: Sebastian Huber > --- > newlib/libc/sys/rtems/include/arpa/inet.h | 21 --------------------- > 1 file changed, 21 deletions(-) >=20 > diff --git a/newlib/libc/sys/rtems/include/arpa/inet.h b/newlib/libc/sys/= rtems/include/arpa/inet.h > index d71c92748..91e3a828a 100644 > --- a/newlib/libc/sys/rtems/include/arpa/inet.h > +++ b/newlib/libc/sys/rtems/include/arpa/inet.h > @@ -112,27 +112,6 @@ struct in_addr { > #define _STRUCT_IN_ADDR_DECLARED > #endif >=20=20 > -/* XXX all new diversions!! argh!! */ > -#if __BSD_VISIBLE > -#define inet_addr __inet_addr > -#define inet_aton __inet_aton > -#define inet_lnaof __inet_lnaof > -#define inet_makeaddr __inet_makeaddr > -#define inet_neta __inet_neta > -#define inet_netof __inet_netof > -#define inet_network __inet_network > -#define inet_net_ntop __inet_net_ntop > -#define inet_net_pton __inet_net_pton > -#define inet_cidr_ntop __inet_cidr_ntop > -#define inet_cidr_pton __inet_cidr_pton > -#define inet_ntoa __inet_ntoa > -#define inet_ntoa_r __inet_ntoa_r > -#define inet_pton __inet_pton > -#define inet_ntop __inet_ntop > -#define inet_nsap_addr __inet_nsap_addr > -#define inet_nsap_ntoa __inet_nsap_ntoa > -#endif /* __BSD_VISIBLE */ > - > __BEGIN_DECLS > #ifndef _BYTEORDER_PROTOTYPED > #define _BYTEORDER_PROTOTYPED > --=20 > 2.12.3 Please apply. Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer Red Hat --EDJsL2R9iCFAt7IV Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZPoKWAAoJEPU2Bp2uRE+gJj0QAJI/nznNhD40F+aX+nMmdXME /+EZel5ASB3CK5jJUwdETR8lNSScfpIPc63+KBAW8QQbFfI0TKUvWH74xbf/PgDr qy9Wbqmd3HgIx5d7mwc907FOh5ejpAb4iBKXLvj/cCkQL7i0ubCsHPiY52mbCNDP twIy27G4jDJWty4VEINCblwTv9uS3inL3VG3zOj87r+VG2+326+wgW4I6U+zXcQn BThDfBeixtdrJKfI0tlbrBPjRGDYp444qiUQFPo453cMJG3UKyCHmGsq1iOIn8b1 NrO40ZExUQ19uI/m/U28XkCqEXBUlk3LhcYPZQP3ucYBJppTN3JRqasK20EX29u4 PMi8oMwZ2Y0LbcmO6Diwrwf6JWA2QYa6kcfbRF/8iFhkbQuDLd8Ikjmmdm5DwobB ZL2hcKWs8RhKgXw1yWAomKY8GUlpQNwg5W2Z5fEEIewROAMZwjU8EeQSG1DsHOfe 921l3ppoPbu9D38r4vEUg3xGN6dcsgW4CK/lJPT3tTtg85E3nXwBhP1zFlsfaS0q 31t0BZrWJxZIn68RpCohID3ng6UJJsxiCl+lmBcqdXLZ7tegbvCNmf4snjV6GkSZ FWKQF3cxBZ9Xs7nfG//WxhzbHeH9HBZbrIll3BXYjV3AkTgc5LOPwbbqVALEaUGp Zr2BSX6DFrJUAWwyuKRY =vJ6P -----END PGP SIGNATURE----- --EDJsL2R9iCFAt7IV--