Patch: Add __restrict to string.h

Joel Sherrill Joel.Sherrill@OARcorp.com
Thu Jul 18 22:42:00 GMT 2013


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



More information about the Newlib mailing list