]> git.ipfire.org Git - thirdparty/glibc.git/commit - sysdeps/unix/sysv/linux/x86/bits/types/struct_semid_ds.h
y2038: Use a common definition for semid_ds
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 17 Feb 2021 21:30:08 +0000 (18:30 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 15 Jun 2021 13:42:11 +0000 (10:42 -0300)
commitf98beb65f57afd7f62a5d0e21863323975b43c1c
tree2cc247c2821d53372fdaaa8470303c43603b7e03
parentb997083e3d30dc165d8e6dd3b6a126259824033e
y2038: Use a common definition for semid_ds

Instead of replicate the same definitions from struct_semid64_ds.h
on the multiple struct_semid_ds.h, use a common header which is included
when required (struct_semid64_ds_helper.h).

The __USE_TIME_BITS64 is not defined internally yet, although the
internal header is used when building the 64-bit semctl implementation.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/bits/types/struct_semid64_ds.h
sysdeps/unix/sysv/linux/bits/types/struct_semid64_ds_helper.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/bits/types/struct_semid_ds.h
sysdeps/unix/sysv/linux/hppa/bits/types/struct_semid_ds.h
sysdeps/unix/sysv/linux/mips/bits/types/struct_semid_ds.h
sysdeps/unix/sysv/linux/powerpc/bits/types/struct_semid_ds.h
sysdeps/unix/sysv/linux/sparc/bits/types/struct_semid_ds.h
sysdeps/unix/sysv/linux/x86/bits/types/struct_semid_ds.h