From: "Cristian Rodríguez" <cristian@rodriguez.im>
To: libc-alpha@sourceware.org
Cc: "Cristian Rodríguez" <cristian@rodriguez.im>
Subject: [PATCH 5/5] stdio-common: Replace zero-length array with flexible-array member
Date: Wed, 21 Jun 2023 21:34:33 +0000 [thread overview]
Message-ID: <20230621213444.2017-4-cristian@rodriguez.im> (raw)
In-Reply-To: <20230621213444.2017-1-cristian@rodriguez.im>
Signed-off-by: Cristian Rodríguez <cristian@rodriguez.im>
---
stdio-common/reg-modifier.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stdio-common/reg-modifier.c b/stdio-common/reg-modifier.c
index a52022d1ba..d957d85a5f 100644
--- a/stdio-common/reg-modifier.c
+++ b/stdio-common/reg-modifier.c
@@ -27,7 +27,7 @@ struct printf_modifier_record
{
struct printf_modifier_record *next;
int bit;
- wchar_t str[0];
+ wchar_t str[];
};
struct printf_modifier_record **__printf_modifier_table attribute_hidden;
--
2.41.0
prev parent reply other threads:[~2023-06-21 21:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-21 21:34 [PATCH 2/5] include: Replace zero-length array "msg" with C99 flexible-array Cristian Rodríguez
2023-06-21 21:34 ` [PATCH 3/5] linux: Replace zero-length array with flexible-array member on inotify struct Cristian Rodríguez
2023-06-21 21:44 ` Cristian Rodríguez
2023-06-22 5:23 ` Florian Weimer
2023-06-23 15:57 ` Cristian Rodríguez
2023-06-21 21:34 ` [PATCH 4/5] linux: Replace zero-length array with flexible-array member on struct dirstream Cristian Rodríguez
2023-06-22 5:25 ` Florian Weimer
2023-06-23 15:56 ` Cristian Rodríguez
2023-06-21 21:34 ` Cristian Rodríguez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230621213444.2017-4-cristian@rodriguez.im \
--to=cristian@rodriguez.im \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).