inttostr: simplify by removing unnecessary redundancy
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Oct 2010 18:14:17 +0000 (11:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Oct 2010 18:14:58 +0000 (11:14 -0700)
commitba6c03ba1a75ab19506e823d7a1d2f7daa70821b
tree0e3b5bc9cacab2db4e6333230f9636972b844e69
parenta0598ff28d2256e53968f760492c55879055ea94
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'.
ChangeLog
lib/anytostr.c
lib/imaxtostr.c
lib/inttostr.c
lib/offtostr.c
lib/uinttostr.c
lib/umaxtostr.c
modules/inttostr