This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to use more safe-ctype macros
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Patch to use more safe-ctype macros
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 22 Oct 2001 15:17:53 -0700
- Cc: dj at redhat dot com, gcc-patches at gcc dot gnu dot org, zack at codesourcery dot com
- References: <200110222214.SAA00530@caip.rutgers.edu>
On Mon, Oct 22, 2001 at 06:14:10PM -0400, Kaveh R. Ghazi wrote:
> > From: Zack Weinberg <zack@codesourcery.com>
> > Isn't supported by safe-ctype either, but you should put in the same
> > guard #ifdef that safe-ctype has.
All I really cared is that we didn't silently do the wrong thing.
> * libiberty.h (_hex_value): Const-ify.
> (hex_init): Delete.
> * hex.c (hex_init): Delete.
> (_hex_value): Const-ify and initialize at compile-time.
Ok.
r~