Remove __qaddr_t

Message ID alpine.DEB.2.20.1708091713250.18502@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Aug. 9, 2017, 5:13 p.m.
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.

2017-08-09  Joseph Myers  <joseph@codesourcery.com>

	* posix/bits/types.h (__qaddr_t): Remove.

Comments

Paul Eggert Aug. 9, 2017, 6:06 p.m. | #1
Thanks, this looks good.

Patch

diff --git a/posix/bits/types.h b/posix/bits/types.h
index e2f73a8..2f37478 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.  */