diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-08-09 18:10:52 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-08-09 18:10:52 +0000 |
commit | 24d9f53ab0233bc385233c584abaeecbb75b04d1 (patch) | |
tree | 9c6fdac5eb5653f00fe02456439b374b44d9f16b | |
parent | 3d452dabd1f063bdf251825a3ba5d68461921def (diff) | |
download | glibc-24d9f53ab0233bc385233c584abaeecbb75b04d1.tar.gz glibc-24d9f53ab0233bc385233c584abaeecbb75b04d1.tar.xz glibc-24d9f53ab0233bc385233c584abaeecbb75b04d1.zip |
Remove __qaddr_t.
bits/types.h defines a type __qaddr_t that is not used anywhere in glibc. It doesn't appear to be widely used outside glibc either (judging by codesearch.debian.net, where hits are generally copies of definitions of this type, not uses), so it seems appropriate to remove this type, which this patch does. Tested for x86_64. * posix/bits/types.h (__qaddr_t): Remove.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | posix/bits/types.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index f636bc0c6e..87f079da8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2017-08-09 Joseph Myers <joseph@codesourcery.com> + * posix/bits/types.h (__qaddr_t): Remove. + [BZ #21457] * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down. (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to diff --git a/posix/bits/types.h b/posix/bits/types.h index e2f73a89e4..2f37478018 100644 --- a/posix/bits/types.h +++ b/posix/bits/types.h @@ -188,7 +188,6 @@ __STD_TYPE __SYSCALL_ULONG_TYPE __syscall_ulong_t; /* These few don't really vary by system, they always correspond to one of the other defined types. */ typedef __off64_t __loff_t; /* Type of file sizes and offsets (LFS). */ -typedef __quad_t *__qaddr_t; typedef char *__caddr_t; /* Duplicates info from stdint.h but this is used in unistd.h. */ |