glibc/inet/netinet
Florian Weimer 26e7005728 socket: Use may_alias on sockaddr structs (bug 19622)
This supports common coding patterns.  The GCC C front end before
version 7 rejects the may_alias attribute on a struct definition
if it was not present in a previous forward declaration, so this
attribute can only be conditionally applied.

This implements the spirit of the change in Austin Group issue 1641.

Suggested-by: Marek Polacek <polacek@redhat.com>
Suggested-by: Jakub Jelinek <jakub@redhat.com>
Reviewed-by: Sam James <sam@gentoo.org>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit 8d7b6b4cb2)
2024-05-27 17:25:13 +02:00
..
ether.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
icmp6.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
igmp.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
in.h socket: Use may_alias on sockaddr structs (bug 19622) 2024-05-27 17:25:13 +02:00
ip6.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00