Mercurial > hg > octave-nkf > gnulib-hg
view lib/offtostr.c @ 13820:f44f7159cdc4
inttostr: simplify by removing unnecessary redundancy
* lib/anytostr.c: Don't include verify.h.
(anytostr): Don't verify that TYPE_SIGNED (inttype) equals
inttype_is_signed. Instead, use TYPE_SIGNED (inttype) directly.
This removes the need for inttype_is_signed, which was put in to
suppress some GCC warnings about conversions. This rewrite should
also suppress those warnings.
* lib/imaxtostr.c (inttype_is_signed): Remove; no longer needed.
* lib/inttostr.c, lib/offtostr.c, lib/uinttostr.c, lib/umaxtostr.c:
Likewise.
* modules/inttostr (Depends-on): Remove 'verify'.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 22 Oct 2010 11:14:17 -0700 |
parents | 4a25c1663687 |
children | 1cf23bf4f6e4 |