Re: [PATCH] libiberty: pex-unix.c: Make pex_unix_cleanup signature always match body.

2023-06-07 Thread Costas Argyris via Gcc-patches
Oh OK, thanks for the clarification. Costas On Wed, 7 Jun 2023 at 13:59, Jeff Law wrote: > > > On 6/7/23 04:21, Costas Argyris via Gcc-patches wrote: > > I saw this while working on something else: > > > > pex_unix_cleanup signature doesn't always match the > > body of the function in terms of

Re: [PATCH] libiberty: pex-unix.c: Make pex_unix_cleanup signature always match body.

2023-06-07 Thread Jeff Law via Gcc-patches
On 6/7/23 04:21, Costas Argyris via Gcc-patches wrote: I saw this while working on something else: pex_unix_cleanup signature doesn't always match the body of the function in terms of ATTRIBUTE_UNUSED. If the conditional code in the body is compiled, then ATTRIBUTE_UNUSED isn't correct.

[PATCH] libiberty: pex-unix.c: Make pex_unix_cleanup signature always match body.

2023-06-07 Thread Costas Argyris via Gcc-patches
cleaner IMO. Costas From 4c84afd631ad09011b237790599e1c320852f82d Mon Sep 17 00:00:00 2001 From: Costas Argyris Date: Wed, 7 Jun 2023 10:34:14 +0100 Subject: [PATCH] libiberty: pex-unix.c: Make pex_unix_cleanup signature always match body. Signed-off-by: Costas Argyris --- libiberty/pex-unix.c