From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14387 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH v2 0/3] Resolve compiler warnings in master Date: Wed, 10 Jul 2019 17:14:02 -0400 Message-ID: <20190710211402.GW1506@brightrain.aerifal.cx> References: <20190629231906.64452-1-samuel@sholland.org> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="85593"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-14403-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 10 23:14:19 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hlJus-000M9n-4Q for gllmg-musl@m.gmane.org; Wed, 10 Jul 2019 23:14:18 +0200 Original-Received: (qmail 27875 invoked by uid 550); 10 Jul 2019 21:14:15 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 27856 invoked from network); 10 Jul 2019 21:14:15 -0000 Content-Disposition: inline In-Reply-To: <20190629231906.64452-1-samuel@sholland.org> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:14387 Archived-At: On Sat, Jun 29, 2019 at 06:19:03PM -0500, Samuel Holland wrote: > These three patches resolve some compiler warnings about mismatched > attributes, and restrict violations, and a macro redifinition. > > Fixing the header prototype for ___errno_location does provide the > expected optimization improvement: > > Before: > text data bss dec hex filename > 675262 2146 11568 688976 a8350 lib/libc.so > > After: > text data bss dec hex filename > 674838 2146 11568 688552 a81a8 lib/libc.so > > Changes since v1: > - Move the attribute to the prototype in src/include/errno.h > - Add patch 3 > > Samuel Holland (3): > resolve -Wrestrict warnings > use the correct attributes for ___errno_location > Revert "mips,powerpc: fix TIOCSER_TEMT in termios.h" Thanks! Sorry I overlooked these at first. Applying. Rich