public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 2/5] include: Replace zero-length array "msg" with C99 flexible-array.
@ 2023-06-21 21:34 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
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Cristian Rodríguez @ 2023-06-21 21:34 UTC (permalink / raw)
  To: libc-alpha; +Cc: Cristian Rodríguez

Signed-off-by: Cristian Rodríguez <cristian@rodriguez.im>
---
 include/stdlib.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/stdlib.h b/include/stdlib.h
index 7deb8193d7..206ceb7435 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -360,7 +360,7 @@ libc_hidden_proto (__qfcvt_r)
 struct abort_msg_s
 {
   unsigned int size;
-  char msg[0];
+  char msg[];
 };
 extern struct abort_msg_s *__abort_msg;
 libc_hidden_proto (__abort_msg)
-- 
2.41.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-23 15:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH 5/5] stdio-common: Replace zero-length array with flexible-array member 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).