This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Do not use __ptr_t
- From: Paul Eggert <eggert at cs dot ucla dot edu>
- To: Joseph Myers <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Date: Tue, 8 Aug 2017 07:58:33 -0700
- Subject: Re: Do not use __ptr_t
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1708080016390.28702@digraph.polyomino.org.uk>
Thanks, that patch looks good as far as it goes. How about deprecating __ptr_t
while we're at it? Although we can't deprecate a macro directly, we can do this:
typedef void __ptr_t_void __attribute_deprecated__;
/* This is not a typedef so 'const __ptr_t' does the right thing. */
#define __ptr_t __ptr_t_void *