From: "Cristian Rodríguez" <cristian@rodriguez.im>
To: libc-alpha@sourceware.org
Cc: "Cristian Rodríguez" <cristian@rodriguez.im>
Subject: [PATCH 6/6] misc: annotate q_data with __decl_is_flex_array
Date: Mon, 10 Jul 2023 15:04:42 +0000 [thread overview]
Message-ID: <20230710150454.5490-7-cristian@rodriguez.im> (raw)
In-Reply-To: <20230710150454.5490-1-cristian@rodriguez.im>
Signed-off-by: Cristian Rodríguez <cristian@rodriguez.im>
---
misc/search.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/search.h b/misc/search.h
index 30191d40cc..f1b1e63cae 100644
--- a/misc/search.h
+++ b/misc/search.h
@@ -35,7 +35,7 @@ struct qelem
{
struct qelem *q_forw;
struct qelem *q_back;
- char q_data[1];
+ char q_data[1] __decl_is_flex_array;
};
# endif
--
2.41.0
next prev parent reply other threads:[~2023-07-10 15:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-10 15:04 [PATCH 0/6] Support use of -fstrict-flex-arrays in user code Cristian Rodríguez
2023-07-10 15:04 ` [PATCH 1/6] Introduce __decl_is_flex_array macro Cristian Rodríguez
2023-07-10 15:04 ` [PATCH 2/6] dlfcn : annotate dls_serpath with __decl_is_flex_array Cristian Rodríguez
2023-07-10 15:04 ` [PATCH 3/6] inet: annotate tu_data and tu_stuff " Cristian Rodríguez
2023-07-10 15:04 ` [PATCH 4/6] inet: annotate ip6r0_addr " Cristian Rodríguez
2023-07-10 15:04 ` [PATCH 5/6] io: annotate fts_name " Cristian Rodríguez
2023-07-10 15:04 ` Cristian Rodríguez [this message]
2023-07-19 12:40 ` [PATCH 0/6] Support use of -fstrict-flex-arrays in user code Cristian Rodríguez
2023-07-19 14:27 ` Adhemerval Zanella Netto
2023-07-19 14:57 ` Cristian Rodríguez
2023-07-19 17:48 ` Adhemerval Zanella Netto
2023-08-11 15:34 ` Cristian Rodríguez
2023-08-11 22:10 ` Paul Eggert
2023-08-12 11:07 ` Alejandro Colomar
2023-08-12 13:29 ` Alejandro Colomar
2023-08-12 14:53 ` Cristian Rodríguez
2023-08-12 18:20 ` Paul Eggert
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=20230710150454.5490-7-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).