Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 2 Sep 2012 12:51:26 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: [PATCH/RFC] inline cleanup/C89 support

On Thu, Aug 30, 2012 at 03:45:34PM -0700, Isaac Dunham wrote:
> On Fri, 24 Aug 2012 09:53:16 +0200
> Szabolcs Nagy <nsz@...t70.net> wrote:
> 
> > * Rich Felker <dalias@...ifal.cx> [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

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ