This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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 :-)