* [PATCH 1/5] catgets: Replace zero-length array name_ptr with C99 flexible-array.
@ 2023-06-20 22:15 Cristian Rodríguez
2023-06-21 12:59 ` Adhemerval Zanella Netto
0 siblings, 1 reply; 3+ messages in thread
From: Cristian Rodríguez @ 2023-06-20 22:15 UTC (permalink / raw)
To: libc-alpha; +Cc: Cristian Rodríguez
---
catgets/catgetsinfo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/catgets/catgetsinfo.h b/catgets/catgetsinfo.h
index 4252e4361c..32a79a0234 100644
--- a/catgets/catgetsinfo.h
+++ b/catgets/catgetsinfo.h
@@ -25,7 +25,7 @@ struct catalog_obj
uint32_t plane_depth;
/* This is in fact two arrays in one: always a pair of name and
pointer into the data area. */
- uint32_t name_ptr[0];
+ uint32_t name_ptr[];
};
--
2.41.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/5] catgets: Replace zero-length array name_ptr with C99 flexible-array.
2023-06-20 22:15 [PATCH 1/5] catgets: Replace zero-length array name_ptr with C99 flexible-array Cristian Rodríguez
@ 2023-06-21 12:59 ` Adhemerval Zanella Netto
2023-06-21 15:51 ` Cristian Rodríguez
0 siblings, 1 reply; 3+ messages in thread
From: Adhemerval Zanella Netto @ 2023-06-21 12:59 UTC (permalink / raw)
To: Cristian Rodríguez, libc-alpha; +Cc: Cristian Rodríguez
LGTM, thanks.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
On 20/06/23 19:15, Cristian Rodríguez via Libc-alpha wrote:
> ---
> catgets/catgetsinfo.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/catgets/catgetsinfo.h b/catgets/catgetsinfo.h
> index 4252e4361c..32a79a0234 100644
> --- a/catgets/catgetsinfo.h
> +++ b/catgets/catgetsinfo.h
> @@ -25,7 +25,7 @@ struct catalog_obj
> uint32_t plane_depth;
> /* This is in fact two arrays in one: always a pair of name and
> pointer into the data area. */
> - uint32_t name_ptr[0];
> + uint32_t name_ptr[];
> };
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/5] catgets: Replace zero-length array name_ptr with C99 flexible-array.
2023-06-21 12:59 ` Adhemerval Zanella Netto
@ 2023-06-21 15:51 ` Cristian Rodríguez
0 siblings, 0 replies; 3+ messages in thread
From: Cristian Rodríguez @ 2023-06-21 15:51 UTC (permalink / raw)
To: Adhemerval Zanella Netto
Cc: Cristian Rodríguez, Adhemerval Zanella via Libc-alpha
[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]
I have a series of patches. Git send email is annoying me right now.. but
I'll post first the parts that only change internal structures. Then either
grandfather-in the ones using [1] or change them in a backward compatible
way.
Cheers
El mié, 21 de jun. de 2023 08:59, Adhemerval Zanella Netto <
adhemerval.zanella@linaro.org> escribió:
> LGTM, thanks.
>
> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
>
> On 20/06/23 19:15, Cristian Rodríguez via Libc-alpha wrote:
> > ---
> > catgets/catgetsinfo.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/catgets/catgetsinfo.h b/catgets/catgetsinfo.h
> > index 4252e4361c..32a79a0234 100644
> > --- a/catgets/catgetsinfo.h
> > +++ b/catgets/catgetsinfo.h
> > @@ -25,7 +25,7 @@ struct catalog_obj
> > uint32_t plane_depth;
> > /* This is in fact two arrays in one: always a pair of name and
> > pointer into the data area. */
> > - uint32_t name_ptr[0];
> > + uint32_t name_ptr[];
> > };
> >
> >
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-21 15:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-20 22:15 [PATCH 1/5] catgets: Replace zero-length array name_ptr with C99 flexible-array Cristian Rodríguez
2023-06-21 12:59 ` Adhemerval Zanella Netto
2023-06-21 15:51 ` Cristian Rodríguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).