public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Remove __qaddr_t
@ 2017-08-09 17:14 Joseph Myers
  2017-08-09 18:06 ` Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2017-08-09 17:14 UTC (permalink / raw)
  To: libc-alpha

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.

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.  */

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Remove __qaddr_t
  2017-08-09 17:14 Remove __qaddr_t Joseph Myers
@ 2017-08-09 18:06 ` Paul Eggert
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2017-08-09 18:06 UTC (permalink / raw)
  To: Joseph Myers, libc-alpha

Thanks, this looks good.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-09 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-09 17:14 Remove __qaddr_t Joseph Myers
2017-08-09 18:06 ` Paul Eggert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).