This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Add __restrict to string.h


I was leaning that way but waffled. Anyone else want restrict in the docs?

--joel

Eric Blake <eblake@redhat.com> wrote:


On 07/18/2013 11:46 AM, Joel Sherrill wrote:
> Hi
>
> Attached is the first attempt at a patch to add __restrict
> to prototypes per Single UNIX Specification V4.
>

>
> Question: Prototypes in the documentation say __restrict.
> Is this OK?

I'd prefer to see plain 'restrict' in the docs - that is, write the docs
assuming the user has a compliant compiler.

--
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]