glibc/sysdeps/unix/sysv/linux/net
Florian Weimer 8d7b6b4cb2 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>
2024-05-18 09:33:19 +02:00
..
ethernet.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
if_arp.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
if_packet.h socket: Use may_alias on sockaddr structs (bug 19622) 2024-05-18 09:33:19 +02:00
if_ppp.h Installed-header hygiene (BZ#20366): conditionally defined structures. 2016-09-23 08:43:56 -04:00
if_shaper.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
if_slip.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ppp_defs.h Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
ppp-comp.h update from main archive 961008 1996-10-08 23:39:20 +00:00
route.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00