This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] fixincludes: vxworks: remove unnecessary parentheses in ioctl wrapper macro



> On 3 Sep 2018, at 17:25, Bruce Korb <bkorb@gnu.org> wrote:
> 
> On Mon, Sep 3, 2018 at 2:46 AM Olivier Hainque <hainque@adacore.com> wrote:
>>> -        "#define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n";
>>> +        "#define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n";
>> 
>> ok by me, thanks.
> 
> Shouldn't this qualify as "trivial"? :)

Probably, though I kept thinking there might
have been a particular reason, which I couldn't
grasp, why the parens had been introduced back
then.

Thanks for chiming in :-)



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