From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1806 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH/RFC] inline cleanup/C89 support Date: Sun, 2 Sep 2012 12:51:26 -0400 Message-ID: <20120902165126.GC27715@brightrain.aerifal.cx> References: <12609.132.241.65.179.1345698455.squirrel@lavabit.com> <503622B4.8020506@barfooze.de> <20120823123453.GO27715@brightrain.aerifal.cx> <20120823172519.39f899b6@newbook> <20120824020749.GU27715@brightrain.aerifal.cx> <20120824023425.GV27715@brightrain.aerifal.cx> <20120824075315.GF10731@port70.net> <20120830154534.454e8d66@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1346604563 27570 80.91.229.3 (2 Sep 2012 16:49:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2012 16:49:23 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1807-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 02 18:49:25 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1T8DMM-0007oI-GK for gllmg-musl@plane.gmane.org; Sun, 02 Sep 2012 18:49:18 +0200 Original-Received: (qmail 7754 invoked by uid 550); 2 Sep 2012 16:49:15 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 7743 invoked from network); 2 Sep 2012 16:49:15 -0000 Content-Disposition: inline In-Reply-To: <20120830154534.454e8d66@newbook> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:1806 Archived-At: On Thu, Aug 30, 2012 at 03:45:34PM -0700, Isaac Dunham wrote: > On Fri, 24 Aug 2012 09:53:16 +0200 > Szabolcs Nagy wrote: > > > * Rich Felker [2012-08-23 22:34:25 -0400]: > ... > > > #if __STDC_VERSION__ >= 199901L > > > #define __inline inline > > > #define __restrict restrict > > > #endif > > > > > > added near the top of headers that need to use inline and/or > > > restrict. > (As previously stated, it appears-per a grep of glibc-that restrict is > not needed in these headers.) > This patch is updated for C++: > > #if __STDC_VERSION__ >= 199901L || defined(__cplusplus) > #define __inline inline > #endif > [...] Committed, with minor changes. Rich