glibc/misc/sys
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
..
auxv.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cdefs.h socket: Use may_alias on sockaddr structs (bug 19622) 2024-05-18 09:33:19 +02:00
dir.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
file.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ioctl.h Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
mman.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
param.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
queue.h
select.h Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
single_threaded.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
syslog.h
sysmacros.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
uio.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
xattr.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00